MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/openvdb / sort

Method sort

openvdb/openvdb/util/PagedArray.h:394–394  ·  view source on GitHub ↗

@brief Parallel sort of all the elements in ascending order.

Source from the content-addressed store, hash-verified

392
393 /// @brief Parallel sort of all the elements in ascending order.
394 void sort() { tbb::parallel_sort(this->begin(), this->end(), std::less<ValueT>() ); }
395
396 /// @brief Parallel sort of all the elements in descending order.
397 void invSort() { tbb::parallel_sort(this->begin(), this->end(), std::greater<ValueT>()); }

Callers 1

TEST_FFunction · 0.45

Calls 2

beginMethod · 0.95
endMethod · 0.95

Tested by 1

TEST_FFunction · 0.36