[odb-users] Commit in batch

Boris Kolpackov boris at codesynthesis.com
Wed Mar 28 09:13:51 EDT 2012


Hi Davide,

Davide Anastasia <Davide.Anastasia at qualitycapital.com> writes:

> Actually, it's not that equivalent. Shared_ptr will allocate the memory
> every time, and this seems to be quite a big cost in fast applications.
> Your method decreased the overhead.

Yes, my approach is slightly more efficient, though compared to persisting
1000 objects, this probably won't make much difference.


> Thanks a lot Boris, this library is such a great source of code
> insipiration for both my work and my personal projects.

Thanks, I am glad you are enjoying ODB.

Boris



More information about the odb-users mailing list