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

Introduction of numpy and vectorization of the inbuilt definitions for performance improvement #579

Open
IHoldYA opened this issue Nov 9, 2022 · 1 comment
Labels
question Further information is requested

Comments

@IHoldYA
Copy link

IHoldYA commented Nov 9, 2022

Hi, I was recently testing the ladybug tools package within external python environment and was wondering whether there are any plans for the code optimization by using numpy data arrays instead of native python lists and dictionaries as well as definitions' vectorization?
I am asking as this could increase the computation time significantly. I was even considering partly rewriting it myself for the sake of my projects.

cheers!

@mostaphaRoudsari
Copy link
Member

Hi, @IHoldYA - we use the ladybug core libraries from inside Rhino/Grasshopper and we need to keep them compatible with IronPython. As a result we can't add dependencies like numpy to the core library.

That said, you can create your own extension that does what you want. See ladybug-pandas as an example: https://github.com/ladybug-tools/ladybug-pandas/

@mostaphaRoudsari mostaphaRoudsari added the question Further information is requested label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants