Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 25 May 20:42
· 6 commits to main since this release
Add threads= to batch calls + lead README with the speedup (v0.1.2)

threads=N caps the rayon pool for a single batch call:
  ratio(pairs, threads=4)
  cluster_canonicals(canon, 0.5, threads=4)
threads=0 (default) uses every core (still tunable process-wide via
RAYON_NUM_THREADS); a failed pool build falls back to the global pool. Thread
count never changes the result, only the speed (verified bit-for-bit). Scalar
ratio(a, b) has no threads param — nothing to parallelize; pyright enforces it.

README now leads with the number: 'up to 8,500x faster' in the hero + badge, an
at-a-glance throughput table up top, and a note on configuring threads.