mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +00:00
1c1faeff2d
PPQSort is supposedly quite fast: https://github.com/GabTux/PPQSort More importantly, it does not depend on TBB fuckery, so there's no longer a need to link with an external library that people may or may not have. The NO_PARALLEL_STL option is out, as it was provided solely to deal with TBB being not available. Sequential sorting is still used on emscripten.
11 lines
148 B
C++
11 lines
148 B
C++
#ifndef __TRACYSORT_HPP__
|
|
#define __TRACYSORT_HPP__
|
|
|
|
#ifdef __EMSCRIPTEN__
|
|
# include "tracy_pdqsort.h"
|
|
#else
|
|
# include <ppqsort.h>
|
|
#endif
|
|
|
|
#endif
|