Skip to content

Prevent unnecessary memory allocation in sourcemaps uploading #2342

Closed

Description

@szokeasaurusrex

The following line creates a copy of all of the sourcemaps being uploaded with the sourcemaps upload command:

self.files.insert(k.to_owned(), v.to_owned());

If the files being uploaded are large, this will consume a lot of memory.

It should be possible to eliminate this memory allocation.

Activity

  1. added a commit that references this issue on Jan 14, 2025
    d5912ed
  2. added a commit that references this issue on Jan 14, 2025
    ee953a5
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions