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

KarpelesLab / anyhash / 24333417795
88%

Build:
DEFAULT BRANCH: master
Ran 13 Apr 2026 08:26AM UTC
Jobs 2
Files 17
Run time 1min
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

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>

119 of 119 new or added lines in 2 files covered. (100.0%)

2847 of 3264 relevant lines covered (87.22%)

695.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24333417795.1 13 Apr 2026 08:26AM UTC 17
87.22
GitHub Action Run
2 24333417795.2 13 Apr 2026 08:26AM UTC 17
87.22
GitHub Action Run
Source Files on build 24333417795
  • Tree
  • List 17
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24333417795
  • cfa6c1a3 on github
  • Prev Build on master (#24332973163)
  • Next Build on master (#24334979488)
  • 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