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
Further simplifications and correctness fixes in decode hot path
- huffman: fix crash when inner loop reaches last code (bounds check was
after array access); remove dead commented-out method; nest early-return
in buildCaches into if block; use ?? -1 instead of ! for bitCodeToValue
lookup; remove spurious inner braces in _decode
- decodeRecord: fold lengthOnRef computation into decodeReadFeatures return
value, eliminating the second pass over read features; fix push(...spread)
in getAllMatedRecords; hoist duplicate `content` variable in bind(); extract
decodeQualityScores/decodeReadBases helpers; use Uint8Array+decodeLatin1
in decodeReadBases fallback; remove dead RFFn alias; fix stale comment
- index.ts: inline ByteArrayStopCodec decode in bind() fast path; deduplicate
tag decoder subarray body via readTagLen closure; fix indentation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Written with [NHGRI](http://genome.gov) funding as part of [JBrowse](http://jbrowse.org). If you use this in a publication, please cite the most recent JBrowse paper at [jbrowse.org](http://jbrowse.org).
144
+
Written with [NHGRI](http://genome.gov) funding as part of
145
+
[JBrowse](http://jbrowse.org). If you use this in a publication, please cite the
146
+
most recent JBrowse paper at [jbrowse.org](http://jbrowse.org).
0 commit comments