diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-12-28 19:31:28 +0100 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2024-01-08 12:46:31 +0100 |
commit | a7317748135e064ff150072f2f46ccc1d2c4b358 (patch) | |
tree | 40fce7caa0102ab4b9b3a0d514ca37046b4b8685 /platform/linuxbsd/crash_handler_linuxbsd.cpp | |
parent | ae418f9469937b9a438a509bf359da9039cbee37 (diff) | |
download | redot-engine-a7317748135e064ff150072f2f46ccc1d2c4b358.tar.gz |
WorkerThreadPool: Avoid most runtime allocations
Just a little optimization.
**NOTE:**
With `RID_Owner` we could replace each pair of `PagedAllocator` and
`HashMap`-of-ids-to-pointers. However, that would force us to expose
`RID` as the task/group id, instead of `int`, which would break the
API. Too bad. Let's wait until Godot 5.0.
Diffstat (limited to 'platform/linuxbsd/crash_handler_linuxbsd.cpp')
0 files changed, 0 insertions, 0 deletions