-
Notifications
You must be signed in to change notification settings - Fork 404
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
Performance enhancements #107
Conversation
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.
Thank you for profiling that. Checked logic of the changes and it looks good to me. Tests are passing with FPS: 1333.3, let's merge it.
You merged so fast I didn't have time to review 😅 One minor API usability thing -- I'm not sure if the new property wouldn't better be named Besides that, does this improve performance beyond what was there before #64 got merged? Or do we still have some catching-up to do? |
…research#107) * Change to using buffer protocol instead of .numpy() * Slightly faster implementations of things since a lot of the internal logic now uses magnum types instead of numpy types.
Motivation and Context
Slightly faster implementations of things since a lot of the internal logic now uses magnum types instead of numpy types.
How Has This Been Tested
Via a profiling script using python's
cProfile
package.Types of changes
Performance enhancement