closure allocator optimization