-
Notifications
You must be signed in to change notification settings - Fork 55
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
reduce allocations in dims_howmany #269
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #269 +/- ##
==========================================
+ Coverage 69.09% 70.68% +1.59%
==========================================
Files 5 5
Lines 495 522 +27
==========================================
+ Hits 342 369 +27
Misses 153 153
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Thanks, this is ancient code that needed a fresh look. There's nothing StaticArrays can do that couldn't be done with tuples, perhaps with slightly more code, and I'd prefer to avoid the StaticArrays dependency. |
Co-authored-by: Steven G. Johnson <[email protected]>
Thanks! I've updated it now, and all the unnecessary allocations are now avoided if |
This should be ready now |
Gentle bump |
#266 should ideally have been v1.7.0 instead of v1.6.1 as it is mildly breaking, so I'm bumping the version in this PR instead. |
Gentle bump @stevengj |
LGTM |
This reduces some unnecessary allocations in
dims_howmany
. This may be reduced further by usingStaticArrays
, but that's a separate discussion as it'll increase the load time.On master
This PR
Updated after e15a9b8