kuzudb / kuzu

Embeddable property graph database management system built for query speed and scalability. Implements Cypher.
https://kuzudb.com/
MIT License
1.28k stars 90 forks source link

Windows: Build size of static lib too large? #2520

Open LowLevelMahn opened 9 months ago

LowLevelMahn commented 9 months ago

shared: kuzu_shared.dll is ~18MB, kuzu_shared.lib ~250kb static: kuzu.lib is ~380MB

is this due to template bloating?

benjaminwinger commented 9 months ago

Probably. Static libraries aren't known for being small.

I'd used SymbolSort to do some analysis, though I didn't generate a full header dump since it took a really long time to dump even part of the data. It seemed like there was a lot of stuff from standard libraries, and lots of duplication, but I don't know if there's much of anything we can do about it.

LowLevelMahn commented 9 months ago

Probably. Static libraries aren't known for being small.

I'd used SymbolSort to do some analysis, though I didn't generate a full header dump since it took a really long time to dump even part of the data. It seemed like there was a lot of stuff from standard libraries, and lots of duplication, but I don't know if there's much of anything we can do about it.

its hard to keep the many symbols hidden with this (direct) C++ API - or anonymous namespace missing to private the symbols more