-
-
Notifications
You must be signed in to change notification settings - Fork 190
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 performance on maps with many children #142
Improve performance on maps with many children #142
Conversation
Thank you so much! I've been meaning to try re.sub, but hadn't gotten around to it yet. If all the tests pass, this seems like an excellent fix! |
1bc2930
to
7f416ad
Compare
Looks like this is failing due to the pre-commit hook for Black formatting |
I force-pushed a fix for the formatting, the pre-commit hook should pass now. |
Super excited to try this out! |
@blackary Can you try to run these tests locally, or change the timeout of 30000ms? That's what keeps failing, the actual tests never even run |
I think some of the failures were literally because the playwright window was too small to see the map 🤦 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
This change will significantly improve the running time of
st_folium
on maps with many children.In an example I tried with 10,336 child objects, the running time was improved from ~14 seconds to ~400 milliseconds.
Fixes #125