Ticket #53 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

Rewrite ArchiveLoader for improved loading times

Reported by: larsivi Assigned to: larsivi
Priority: major Milestone: RC2
Component: Archive Loader Version:
Keywords: Cc:

Description

Most archives out there has a symbol table at the start which says in which file you'll find it. The current ArchiveLoader? loads all stored files, even though we won't know if they're needed for linking. For large libraries like phobos, this is particularly a waste.

The current plan for the new loader (already partially implemented) is that it will operate in the same way by default, but that when loading the archive, you can turn off the loading, and just read the symbol table. Then the archive can be queried for particular symbols, and load the correct file for that symbol. And caching for the cases where the same file holds several symbols queried for.

Change History

09/04/06 12:45:49 changed by pragma

  • milestone changed from Beta 1.2 - COFF and ELF support to RC2.