[Issue 19987] std.variantN wastes space

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 21 06:11:14 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19987

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@Kriyszig created dlang/phobos pull request #7082 "19987 - Reduce memory used
by VariantN" fixing this issue:

- Fix Issue 19987 - Reducing memory used by VariantN

  Swapping the fptr and union around will avoid unnecessary padding.

https://github.com/dlang/phobos/pull/7082

--


More information about the Digitalmars-d-bugs mailing list