- Improve generics instance creation   Using https://github.com/thekid/xp-experiments/blob/master/performance/GenericsCreation.class.php
- Improve generics instance creation
  Using https://github.com/thekid/xp-experiments/blob/master/performance/GenericsCreation.class.php

  Before:
  == Profiling lang.XPClass<GenericsCreation> ==
  vector: 0.109 seconds for 100000 calls (915122 / second)
  vector_reflection: 1.655 seconds for 100000 calls (60417 / second)
  vector_of_string: 8.803 seconds for 100000 calls (11360 / second)
  vector_of_string_reflection: 5.430 seconds for 100000 calls (18416 / second)
  vector_of_string_type: 8.579 seconds for 100000 calls (11657 / second)
  vector_of_object: 9.645 seconds for 100000 calls (10368 / second)
  == Memory used: 2262.352 kB / peak: 2846.469 kB ==

  After:
  == Profiling lang.XPClass<GenericsCreation> ==
  vector: 0.108 seconds for 100000 calls (921819 / second)
  vector_reflection: 1.645 seconds for 100000 calls (60797 / second)
  vector_of_string: 5.097 seconds for 100000 calls (19621 / second)
  vector_of_string_reflection: 4.239 seconds for 100000 calls (23588 / second)
  vector_of_string_type: 7.270 seconds for 100000 calls (13755 / second)
  vector_of_object: 5.948 seconds for 100000 calls (16811 / second)
  == Memory used: 2252.422 kB / peak: 2746.898 kB ==

  The speedup factor varies between 1.2 and 1.6, depending on usecase.

johannes85/core