• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / anyhash / 24333417795 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 13 Apr 2026 08:26AM UTC
Files 17
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Apr 2026 08:26AM UTC coverage: 87.224% (+0.2%) from 87.009%
24333417795.1

push

github

MagicalTux
Speed up gost and snefru: 4.5x and 1.8x on 64 KiB throughput

gost (13 → 59 MB/s):
- Fold the GOST 28147-89 S-box substitution with the 11-bit left rotation
  into four precomputed 256-entry uint32 tables per S-box, so each round
  collapses to four byte-indexed lookups OR'd together instead of eight
  variable-shift 4-bit lookups followed by a rotate.
- Rewrite gostPsi as four uint64 shift/or ops, eliminating the 30-byte
  memmove that ran 74 times per compression.
- Inline the 74 psi iterations, the psi(m XOR ...) step, and the h XOR
  into gostShuffle64 so the 256-bit shuffle state stays in registers for
  the whole shuffle.

snefru (25 → 45 MB/s):
- Remove the (i/2)&1 branch in the 16-word inner loop by picking the two
  S-boxes into locals once per round and referring to them directly in the
  unrolled body.
- Unroll the 4-pass byteInWord loop and use bits.RotateLeft32 with a
  literal shift so the compiler emits a ROR instruction per word instead
  of a register-held shift+or.

All existing tests pass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

2847 of 3264 relevant lines covered (87.22%)

347.91 hits per line

Source Files on job 24333417795.1
  • Tree
  • List 17
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24333417795
  • cfa6c1a3 on github
  • Prev Job for on master (#24332973163.1)
  • Next Job for on master (#24334979488.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc