My measurements for console command test (which calls MarketMgr::SetBasePrice()):
16:56:35 M PROFILE: Old GetMaterialPrices() finished in 0.110 seconds
16:56:35 M PROFILE: New GetMaterialPrices() finished in 0.011 seconds
It's still a work-in-progress since there's still a lot to implement (database schema initialization, migrations and so on).
I didn't check if the cmake install properly installs the eve-db.so (which must be a shared library or the code will segfault) but the build and run from the project directory works.
It's a sample implementation of the problematic code I've pointed to in #178 The ODB manual is here: https://www.codesynthesis.com/products/odb/doc/manual.xhtml
My measurements for console command
test
(which callsMarketMgr::SetBasePrice()
):It's still a work-in-progress since there's still a lot to implement (database schema initialization, migrations and so on).
I didn't check if the cmake install properly installs the eve-db.so (which must be a shared library or the code will segfault) but the build and run from the project directory works.