Skip to content

Prevent unnecessary memory allocation in sourcemaps uploading #2342

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

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