Compare commits

..

No commits in common. "4827c173b163ffccfc2c2ecfe6fe22c1a2f0d4b4" and "abd7769c1449510bc83e4c38f6458ba6996b3b02" have entirely different histories.

12 changed files with 14 additions and 13 deletions

2
.gitignore vendored
View File

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

View File

@ -45,14 +45,3 @@ make html
Open file://wsl.localhost/Ubuntu/home/zefirka/advanced-python-homework-2023/doc/build/html/index.html Open file://wsl.localhost/Ubuntu/home/zefirka/advanced-python-homework-2023/doc/build/html/index.html
***Tadam*** ***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.

14
nano.2226.save Normal file
View File

@ -0,0 +1,14 @@
[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"]