replace openmp with thread-pool library bc openmp has larger fork boundary overhead

This commit is contained in:
2026-02-22 23:54:14 +01:00
parent 73b01f6af3
commit 4175c654c4
6 changed files with 68 additions and 17 deletions

View File

@ -4,8 +4,8 @@
#include <raylib.h>
#define PRINT_TIMINGS
// #define WEB
#define BARNES_HUT
// #define WEB // Disables multithreading
#define BARNES_HUT // Use octree instead of uniform grid
// Window
constexpr int INITIAL_WIDTH = 800;