angus Posted August 25, 2019 Share Posted August 25, 2019 The documentation is a bit light on the subject. What is the difference between a Unigine vector and a STL vector? Link to comment
fox Posted August 26, 2019 Share Posted August 26, 2019 Hi Angus! Unigine::Vector offers you the following advantages: in most cases it's faster; memory allocation is performed using Unigine's allocator; supports stack memory allocation (VectorStack<>); does not depend on std, so it's binary compatible with other compilers; 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
angus Posted August 26, 2019 Author Share Posted August 26, 2019 Thank you, Fox. You can mark this as solved. Link to comment
Recommended Posts