文件名称:pytailcall:用于尾调用优化的疯狂 Python 字节码黑客攻击
文件大小:69KB
文件格式:ZIP
更新时间:2024-06-30 13:04:44
Python
Testing all functions work Testing with N=5 so we can see overheads fib : 0.00156784057617 ms/call fib_unrecursed : 0.00127983093262 ms/call (1.22503725782x speedup) partial_func : 0.0037317276001 ms/call (0.420138001533x speedup) return_tuple : 0.00255966186523 ms/call (0.612518628912x speedup) internal_loop : 0.000455856323242 ms/call (3.43933054393x speedup) Testing with N=
【文件预览】:
pytailcall-master
----setup.py(364B)
----.gitignore(19B)
----README.md(14KB)
----benchmark.png(63KB)
----pytailcall()
--------utils.py(1KB)
--------internal_loop.py(5KB)
--------benchmark.py(4KB)
--------__init__.py(40B)
--------experiments()
--------examples.py(2KB)