Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Make C ObjectFiles that associate with on-disk source files to only have a filename #668

Open
markfinal opened this issue Nov 15, 2019 · 0 comments
Labels
Backlog For reconsideration at a later date enhancement

Comments

@markfinal
Copy link
Owner

At the moment, an ObjectFile Module requires a SourceFile Module.
This is in order to support generate sources.

But that's the exception rather than the rule.

For a library/application built entirely from N sources, there will be 2N+2 modules (N sources, N object files, 1 object file collection, 1 library/application), and N of those do nothing, as they just reside on disk. They occupy memory, and occupy runtime.

If the ObjectFile initialisation could be either/or; either a Source Module (for generated sources) that NEED to do something, or just a path, this would reduce overhead.

@markfinal markfinal added enhancement Backlog For reconsideration at a later date labels Nov 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Backlog For reconsideration at a later date enhancement
Projects
None yet
Development

No branches or pull requests

1 participant