Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was 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

Description

@markfinal

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions