Skip to content

Instantly share code, notes, and snippets.

@mdouze
Created February 6, 2019 16:22
Show Gist options
  • Save mdouze/0b3ae8c88ba62aae234cdb8507164934 to your computer and use it in GitHub Desktop.
Save mdouze/0b3ae8c88ba62aae234cdb8507164934 to your computer and use it in GitHub Desktop.
~/src/spreadingvectors$ PYTHONPATH=. python lattices/bench_Zn_decoder.py
nb=1000000 nq=1000
init dim=32 r2=36
code_size=8 nv=15221194949728018112 63.72 bits
time for code_size=8 nq=1000 nb=1000000: 8.268 s (8.268 ms/query)
train
add
time for IndexPQ code_size=8 nq=1000 nb=1000000: 3.493 s (3.493 ms/query)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment