• Vladislav Vaintroub's avatar
    MDEV-29367 Refactor tpool::cache · a3fd9e6b
    Vladislav Vaintroub authored
    Removed use std::vector's ba push_back(), pop_back() to  make it more
    obvious that memory in the vectors won't be reallocated.
    
    Also, "borrowed" elements can be debugged a little better now,
    they are put into the start of the m_cache vector.
    a3fd9e6b
tpool_structs.h 8.51 KB