2shady4u / godot-sqlite

GDExtension wrapper for SQLite (Godot 4.x+)
MIT License
895 stars 79 forks source link

About binary file size (two wasm file comparison) #110

Closed douyw closed 7 months ago

douyw commented 1 year ago

The wasm file in the demo is located at demo\addons\godot-sqlite\bin\javascript\libgdsqlite.wasm, 3536KB in size.

The sqlite3.wasm file used here only has 779.89 KB. (the wasm file)

The wrapper size = 3536KB - 779.89 KB = 2756KB. So large?

2shady4u commented 1 year ago

Hello @douyw

The wrapper size is indeed quite large at the moment. It might be worth investigating the compilation flags for the javascript compilation at some point.

2shady4u commented 7 months ago

Closing this issue as the entire buildsystem for the web compilation is now directly inherited from godot-cpp. Any modification of the compilation flags needs to be done on their side.