You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.