Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In MergeMDFiles reserve memory for events in one go #11212

Closed
mantid-builder opened this issue Oct 15, 2014 · 1 comment
Closed

In MergeMDFiles reserve memory for events in one go #11212

mantid-builder opened this issue Oct 15, 2014 · 1 comment
Labels
Framework Issues and pull requests related to components in the Framework
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: Ian Bush

MergeMDFiles, in loadAndAddFrom, reserves memory for events in a box each time it loads a file. This causes the vector to be completely reallocated on every single file load.

This ticket should allow all the memory a vector needs to be reserved in one call.

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 10370

@mantid-builder mantid-builder added the Framework Issues and pull requests related to components in the Framework label Jun 3, 2015
@mantid-builder mantid-builder added this to the Release 3.4 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Issues and pull requests related to components in the Framework
Projects
None yet
Development

No branches or pull requests

1 participant