Jump to content

[SOLVED] Difference between std::vector<foo> and Unigine::Vector<foo> ?


photo

Recommended Posts

Hi Angus!

Unigine::Vector offers you the following advantages:

  1. in most cases it's faster;
  2. memory allocation is performed using Unigine's allocator;
  3. supports stack memory allocation (VectorStack<>);
  4. does not depend on std, so it's binary compatible with other compilers;
  5. offers a set of useful methods, that are missing in std::vector. In many cases methods appendFast(), removeFast(), allocate(), etc. ensure better data processing performance.

We will surely update the documentation by the next release, sorry for the inconvenience caused.

Thanks!

Link to comment
  • silent changed the title to [SOLVED] Difference between std::vector<foo> and Unigine::Vector<foo> ?
×
×
  • Create New...