Skip to content

Conversation

@sevenc-nanashi
Copy link

@sevenc-nanashi sevenc-nanashi commented Dec 8, 2024

This PR adds some optimization to VST3's setState.
This brings massive improvement:

The X axis represents a size of source, and Y axis represents how many bytes are copied by re-allocation (realloc copies buffer right?).

image

https://docs.google.com/spreadsheets/d/1ELkIF4Xp4o7W6gX1-xuYVYrT0fbgW-AWOC8Z73WU-no/edit?usp=sharing

Closes #478 .

P.S.: The best way is to add entire buffer size as a header, but I didn't so that the effect will be smaller.

@sevenc-nanashi
Copy link
Author

Any chance of getting this pr merged?

@falkTX
Copy link
Contributor

falkTX commented Feb 4, 2025

yes, but I would take a different approach. it is good to have your PR as a base to build on though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants