vector performance optimization: simplified allocator holder, constructors rewritten to avoid unnecessary initializations.