-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Speed up converter texture packing with Cython #1671
base: master
Are you sure you want to change the base?
Speed up converter texture packing with Cython #1671
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.
Hey looks good for now. I think you got the basics of Cython right. What would be your next steps?
Is there anything that I could improve?
I'll try to make the additional optimizations |
@fabiobarkoski I think from a perspective of cythonization of the members and variables, the code is already pretty optimized. We now can only gain more speed with design changes to the code. I think that this idea from the issue might be worth a try:
The idea here being is that |
4b749c9
to
6fefdb4
Compare
cythonized more the texture packing, also changed the list passed to factor(), before was a list of frame objects, now a list of only width, height and index of the frames.
6fefdb4
to
e227a43
Compare
Improve texture converter performance with Cython
resolve: #1371