[Issue 15831] IFTI voldemort type exploding bloat
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat May 21 13:28:36 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15831
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
The compressor does a good job with this:
_D3foo8__T1sTiZ1sFNaNbNiNfiZS3foo8__T1sTiZ1sFiZ6Result
_D3foo33__T1sTS€„8€†ŒiZáFá6Result€„NaNbNiNf€›¦€…›€¦Î€›žþ
_D3foo84__T1sTS€„33€‹8€†ŒiZáFá6Result€„€›ž€‹¦NaNbNiNf€ÎÙ€†£Ø´€ÎÑþ
_D3foo186__T1sTS€„Ž84€‹33€Œš€†ŒiZáFá6Result€„€›ž€¦€ÉÑ€‹®NaNbNiNf‰´¿€…«‹À‰´·þ
_D3foo391__T1sTS€„Ž186€‹Ž84€‹33€Œš€†ŒiZáFá6Result€„€›ž€¦€ÉÑ€‘®‰®·€‹¶NaNbNiNf›Œ€†ÞžŒ››„þ
Note how the identifier length increases:
8 => 33 => 84 => 186 => 391
but the compressed version doesn't grow nearly so fast. LZW compression is
really good at removing redundancy.
--
More information about the Digitalmars-d-bugs
mailing list