I’m puzzled by this result I’m seeing on my CI, which indicates that my tiny set is taking more space on nightly than on the stable compiler. Any ideas why this might be? I don’t normally expect data structure layout to depend on compiler version.
The implementation of HashMap was changed recently. Type sizes are not guaranteed unless explicitly documented so.
There’s some discussion of reducing the size here:
Ah yes, somehow I’d forgotten that I used a
TinyMap, and it didn’t occur to me therefore that a library change could be responsible. Thanks!