https://issues.dlang.org/show_bug.cgi?id=17294
Leandro Lucarella <leandro.lucare...@sociomantic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leandro.lucarella@sociomant | |ic.com --- Comment #3 from Leandro Lucarella <leandro.lucare...@sociomantic.com> --- I have the feeling that knowing what was requested (and not only what was actually reserved) could be also useful (although I agree that if we need to pick between the 2, the real allocation makes more sense). But maybe a method to track the requested sizes instead of the real allocated memory could be useful. Also, when shrinking the memory it makes little sense to report it as an allocation, but that would be extremely hard to track (or add a lot of overhead) for the "requested size" mode. --