Files
direct-img.link/functions
multipleof4andClaude Opus 5.5 fce6fdfd0f Perf: Seed AI images with 32-bit FNV-1a instead of SHA-256
The AuroraIMG-6M API takes a 32-bit seed, so FNV-1a produces it directly
instead of truncating a SHA-256 digest. It's ~28x faster than
crypto.subtle (0.35us vs 9.7us per seed in workerd) and seeds don't need
a cryptographic hash. Every query gets new AI images; cached ones are
unaffected until they expire.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 10:07:48 +00:00
..