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
Make amalgamation smaller #443
Comments
-16 APIs have to stay in - https://sqlite.org/forum/forumpost/1eac3b2c9c |
Using speedtest I see a very small but consistent performance improvement with API_ARMOR. Speedtest is only using the prepare/binding/step/column apis. A plausible explanation is that it helps the optimiser because it knows later in the code that parameters aren't null etc. For the 1.2MB shared library text segment, API_ARMOR makes it just over 5,000 bytes larger. Consequently leaving API_ARMOR on. |
The -16 apis only need to be present when ICU extension is enabled.
API_ARMOR only needs to be on in debug builds
We should be able to omit legacy APIs
The text was updated successfully, but these errors were encountered: