tangermeme encodes all 455 hg38 contigs in 1.5 seconds after auto-optimize speedups

jmschreiber91 · x · 2026-10-11

jmschrei reports a new round of tangermeme optimizations: onehotencode, tuned via an auto-optimize search, cut geometric-mean latency from 0.1204 ms to 0.02729 ms and can now encode all 455 contigs of hg38 in 1.5 seconds. The optimizations include caching the 256-entry byte lookup table, writing into arrays without zeroing first, encoding two bases per lookup on long sequences, and a new njobs parameter, with outputs verified identical to main across 1,823 tests. The author notes these very fast primitives, combined with agentic skills, let agents work much faster on genomics tasks.

Related event: tangermeme gets major speedups via auto-optimization as community debates AI code-rewrite attribution(5 posts)→

Original post →

More from coding & agent

coding & agent channel →