From 3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jul 2011 20:23:57 +0300 Subject: Reserve some memory for image vectors. --- src/map.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 749c77ce5..1df4a6d9d 100644 --- a/src/map.h +++ b/src/map.h @@ -60,7 +60,9 @@ class MapRowVertexes { public: MapRowVertexes() - { } + { + images.reserve(30); + } ~MapRowVertexes(); -- cgit v1.2.3-60-g2f50