Closed wilzbach closed 9 years ago
Comment author: Denis Shelomovskii <verylonglogin.reg@gmail.com>
Starting from ~10 MiB executable (with debug info included) OPTLINK Issue 6144 is triggered so one have to develop further without debug info which is really pity expecially as it starts when the project is already has medium size.
Comment author: Denis Shelomovskii <verylonglogin.reg@gmail.com>
Some magic like separating a part of the project into a library may or may not help.
Eliminating use of templates often helps. E.g. one should always append .array()
after (finite) range based operations and then pass an array to a regular (non-templated) function instead of passing Voldemort types to a templated function.
Another workaround is temporary commenting out some functions which uses templates (e.g. from std.algorithm
) to debug other functions.
Comment author: Andrej Mitrovic <andrej.mitrovich@gmail.com>
Why did you open this if it's about Issue 6144? Keep issues about actual bugs and not discussions about other issues.
Comment author: Denis Shelomovskii <verylonglogin.reg@gmail.com>
Why did you open this if it's about Issue 6144? Keep issues about actual bugs and not discussions about other issues.
IMHO it's a separate and valuable issue which will be fixed if Issue 6144 will but may be (probably) fixed also in a different way.
Yes, fill free to mark it INVALID if you sure I'm obviously incorrect.
Note: the issue was created automatically migrated from https://issues.dlang.org
Original bug ID: BZ#9660 From: Denis Shelomovskii <verylonglogin.reg@gmail.com> Reported version: D2 CC: andrej.mitrovich@gmail.com
Depends on: BZ#6144