Skip to content

Paths.json should store placeholder offset and file permissions (executable) #1814

Description

@wolfv

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

To speed up installation (linking) we should store the exact offets of prefix_placehodler locations (so we don't need to search for the string again) and the permissions (so we do not need to call stat on the original file).

That shoudl give a bit of a speed boost.

When offset data is present, we should use a "faster" replacement function. Just note that replacement in binaries is not as trivial as text files due to the null terminator handling.

It should be implemented in a backwards-compatible way so that conda can still read, and install these packages.

Why is this needed?

No response

What should happen?

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions