TGViewer
Блог* Блог* @dereference_pointer_there · 1.98K subscribers
Post #11412 1K
#prog #rust #article

Replacing a Rust Enum with a 64-bit Word Made My Interpreter 17% Faster

<...> That being said, sha256_unfixed is still running 12% faster with the new value representation than with the old version, even though it's allocating a total of 3,149,052 boxed integer values in a span of about 490 ms. That seemed a bit crazy to me, but having a copying GC with a bump allocator means that we can allocate objects really fast.
  • 👍 5
  • 🫡 2
More from @dereference_pointer_there
  1. Sep 25, 2026а чо в смысле уже пятница
  2. Sep 25, 2026Обновляем гитлабчики 💅💅💅 CVE-2026-89078 - Double Free issue in Regular Expression Parse…
  3. Sep 25, 2026photo post
  4. Sep 24, 2026#ml #meme?
  5. Sep 24, 2026photo post
  6. Sep 24, 2026Кхе
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →