I watched the video and wondered about the virtual table calls within
sqlite as well. Without them you would have no VFS though... so they are
needed. Could there be some compile time option to force Linux or Windows
statically? Maybe.

I do not know the effect of collecting debug information using -g, but if
using -O2 to compile sqlite with GCC the following optimizations from
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options are
enabled:
-fdevirtualize
-fdevirtualize-speculatively

So depending on what compiler used and version etc, those virtual calls
could all disappear anyway.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to