Compare commits

...

3 Commits

Author SHA1 Message Date
4827c173b1 new commit 2023-10-13 00:17:50 +03:00
efa98bcc18 New home task 2023-10-13 00:03:19 +03:00
cf5ccaacfb README.md 2023-10-13 00:03:19 +03:00
12 changed files with 13 additions and 14 deletions

2
.gitignore vendored
View File

@ -5,6 +5,7 @@ __pycache__/
# C extensions
*.so
*.save
# Distribution / packaging
.Python
@ -25,6 +26,7 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
devenv/
# PyInstaller
# Usually these files are written by a python script from a template

View File

@ -45,3 +45,14 @@ make html
Open file://wsl.localhost/Ubuntu/home/zefirka/advanced-python-homework-2023/doc/build/html/index.html
***Tadam***
## 3. Function running time for different interpreters
| | CPython3.9 | CPython3.11| PyPy7.3 |
|-----------|------------|------------|-----------|
| without TH| 0.395806057| 0.23031235 |0.099493876|
| with TH | 0.398283844| 0.223160335|0.109582296|
| with numpy| 0.69133805 | 0.473824731|5.184651649|
| user+sys | 1.689+0.308| 1.066+0.319|6.215+0.350|
PyPy 5.7 didn't download due to error: '...libffi.so.6: cannot open shared object file: No such file or directory'. It's too hard than requied: I did my homework in WSL.

View File

@ -1,14 +0,0 @@
[build-system]
requires = ["sip >=5, <6"]
build-backend = "sipbuild.api"
[tool.sip.metadata]
name = "pyfoo"
version = "0.1"
license = "MIT"
[tool.sip.bindings.pyfoo]
headers = ["foo.h"]
libraries = ["foo"]
include-dirs = ["foo"]
library-dirs = ["foo/bin"]