Closed blueloveTH closed 1 year ago
Although other platforms work well, there is a significant performance decline(~30%) compared with v1.6.3
.
My test case on Linux is ~2.0s
on v1.6.3
while on v1.6.4
the time is ~3.0s
.
I tested for several times. The only change is in this commit↓↓ https://github.com/blueloveTH/pocketpy/commit/5a1977633155738a10628aba2cc9888a019d4835
By the way, I am not sure about the differences between hash_table5/6/7/8. Is there any detailed documentations?
thanks for report the issiue. I'll fixed it later. for small key(integer, pointer) emhash7 is better. emhash5 is optimizated for finding hit. so u can try bench it on your system.
The folllow link which gives u a detail comparsion between emhash7 and emhash8. https://martin.ankerl.com/2022/08/27/hashmap-bench-01/#benchmark-results-table
Thanks for your explanation~
Hi!
I have tried to update my project to use the newest version of
hash_table8.cpp
.However, things are broken on Android.
https://github.com/blueloveTH/pocketpy/actions/runs/4114180187/jobs/7101213960
Logs
Seems there is no
aligned_alloc
in Android STL.