Type safety could prevent nuclear war

tsbockman via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 5 00:38:34 PST 2016


On Friday, 5 February 2016 at 07:05:06 UTC, H. S. Teoh wrote:
> On Fri, Feb 05, 2016 at 04:02:41AM +0000, tsbockman via 
> Digitalmars-d wrote:
>> 1) Insert that information (together with what file and line 
>> number it
>> came from) into a big list in a temporary file.
>> 2) After all modules have been compiled, go back and sort the 
>> list by
>> function name.
>
> This would make compilation of large projects excruciatingly 
> slow.

I did some quick tests on my system, and even with 100,000,000 
names (more names than there are lines of code in the Linux 
kernel...) this can be done in less than three minutes. Smaller 
projects take seconds or less.

I suspect there is a major disconnect between what I meant, and 
what you think I meant.


More information about the Digitalmars-d mailing list