03.04.2014 18:52, Dmitry Yemanov wrote: > You destroy those buffer via AutoPtr when they get out of scope. > Instead, you could release those buffers for reuse at the end of the > same scope.
I.e. duplicate code from memory pool in jrd_tra, except may be those couple of atomic ops mentioned by Alex. I don't see a reason for it: working with undo data buffers is not a frequent operation. IMHO, clean code is better than several saved CPU ticks. -- WBR, SD. ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel