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

improve memory performance #115

Open
bwheelz36 opened this issue Mar 2, 2023 · 2 comments
Open

improve memory performance #115

bwheelz36 opened this issue Mar 2, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@bwheelz36
Copy link
Owner

https://pandas.pydata.org/docs/user_guide/scale.html

  • we could convert any single valued quantities to categorical variables
  • same for particle type
  • we could force the datatypes for different quantities, e.g. int16. the problem is pandas seems to pretty cheerfully case things back into floats anyway, so would regular checks to enforece this.
@bwheelz36 bwheelz36 added the enhancement New feature or request label Mar 2, 2023
@bwheelz36
Copy link
Owner Author

@bwheelz36
Copy link
Owner Author

also, deleting ps_data after it is passed to PhaseSpace saves a substantial amount of memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant