15.06.2020 20:03, Adriano dos Santos Fernandes wrote:
I'm also playing with some containers I think we should allow: shared_ptr (with adaptor for our pools), unique_ptr.
unique_ptr is fine if you know a sure way to prevent its usage with default allocator by mistake. shared_ptr AFAIK uses dynamically allocated helper structure with reference counter which may be bad from memory usage POV and slow down dereferencing. This price may be too high for Firebird.
-- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel