realitix / vulkan

The ultimate Python binding for Vulkan API
Apache License 2.0
505 stars 46 forks source link

Performance improvement in _callApi #27

Closed Berserker66 closed 7 years ago

Berserker66 commented 7 years ago

In my test setup the _callApi function was taking over 90% of the render thread time. This small change reduced that to 70-75% and improved performance a lot by giving more time to other tasks.

realitix commented 7 years ago

Nice! Great addition. Can you remove the code ininit because I use proper commit by restarting the generator. Thanks!

realitix commented 7 years ago

I merged the cleaner pull request so I can close this one.