« * K @ducktapeprogrammer.bsky.social

Seth Stadick @ducktapeprogrammer.bsky.social

2026-11-14 18:26 UTC

using an `assert_unchecked` on the capacity ends with the exact same codegen as my unsafe push method. Using just an `assert` removes the vec growth path, but still leaves a cap check and panic branch.

A reply in a thread.

0 likes, 0 reposts, 1 replies

3 Next post4 More from @ducktapeprogrammer.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup