News for hackers. Stuff that matters.
Re:Why Hashbrown Does a Double Lookup by oconnor663 on Thursday March 21, 2019 @01:01AM (#19449376)
> fast integer overflow checks

Rust's implicit overflow checks are only in debug mode I think. Overflow is defined to wrap in release mode.

Re:Why Hashbrown Does a Double Lookup by steveklabnik on Thursday March 21, 2019 @01:22AM (#19449439)
Yes, due to the hit in performance. We'd love to turn them on unconditionally, and the language is spec'd so that we can someday, but since overflow is not a memory safety issue on its own, and there is a performance hit when checking, this is the current compromise.