What | Removed | Added |
---|---|---|
Status | RESOLVED | NEW |
CC | johannespfau@gmail.com | |
Resolution | FIXED | --- |
Timo Sintonen noted that this is actually contra-productive at least on embedded systems. .bss is read-write storage whereas .rodata can be in readonly storage. http://forum.dlang.org/post/nadodelkzuwtrnquoove@forum.dlang.org I wonder whether the reason you don't see a difference in phobos is a string pooling optimization: I'd expect a clever linker to combine all .zero blocks in .rodata into one block with the size of the largest single block, then use 'slices' to that block.