Re:The Git source code audit, viewed as a Rust programmer
by yakubin on Tuesday January 24, 2023 @01:25PM
(#34507735)
It's sometimes good to use a smaller size. Many string/dynamic array libraries e.g. will use 32-bit types for size and capacity even on 64-bit platforms to conserve space, and by that virtue also be more cache-efficient. I think the Zig compiler also explicitly uses 32-bit types in a lot of places, even though it's targeted mostly for 64-bit platforms.
[ Parent
| on HN ]
There are no comments on this comment yet.