/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
A surprising enum size optimization in the Rust compiler
(jpfennell.com)
146 points
returningfory2
| 1 comments |
07 Apr 25 22:30 UTC
|
HN request time: 1.448s
|
source
1.
pcwalton
◴[
12 Apr 25 02:02 UTC
]
No.
43660666
[source]
▶
>>43616649 (OP)
#
That's a great article. Niche optimization might seem minor, but it actually results in substantial memory usage savings in real-world Rust applications, because idiomatic Rust uses enums everywhere.
ID:
GO
↑