From 95047562d743b1c1fdc007432c8a0c145a455c5d Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 29 Jun 2015 00:29:49 -0300 Subject: Several performance improvements, mainly in loading and instancing scenes and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report. --- core/vector.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'core/vector.h') diff --git a/core/vector.h b/core/vector.h index b93d9a0dea..d103400622 100644 --- a/core/vector.h +++ b/core/vector.h @@ -340,12 +340,14 @@ template void Vector::remove(int p_index) { ERR_FAIL_INDEX(p_index, size()); - for (int i=p_index; i -- cgit v1.2.3