Speeding up importing Phobos files
KnightMare
black80 at bk.ru
Fri Jun 7 16:02:51 UTC 2019
> What *would* be really nice is if dmd could read .zip archives.
> Then all you need to use a library is to download the .zip into
> your source tree and run `dmd -i`.
or to use LZ4 for no-dependencies from zlib and smaller code:
decompressing is 50 LOC, and probably 200LOC for processing
"directory entries" inside file. its faster by 10x than zip -
decompressing working w/o hash-tables as LZW do.
contra: u cannot just unzip files
More information about the Digitalmars-d
mailing list