diff options
author | Juan Linietsky <reduzio@gmail.com> | 2023-12-19 17:34:48 +0100 |
---|---|---|
committer | Dario <dariosamo@gmail.com> | 2024-09-25 15:05:24 -0300 |
commit | 08947d366fba19fe28733538eec0dafe11304032 (patch) | |
tree | 1e00b5189d647e64caf461e33d3625a8ed5c266a /platform/android/export/export_plugin.cpp | |
parent | 0a9d8f04c10870c0f9f7bbd2e0505edc8494e299 (diff) | |
download | redot-engine-08947d366fba19fe28733538eec0dafe11304032.tar.gz |
Make RID_Owner lock-free for fetching.
This PR makes RID_Owner lock free for fetching values, this should give a very
significant peformance boost where used.
Some considerations:
* A maximum number of elements to alocate must be given (by default 256k).
* Access to the RID structure is still safe given they are independent from addition/removals.
* RID access was never really thread-safe in the sense that the contents of the data are not protected anyway. Each server needs to implement locking as it sees fit.
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
0 files changed, 0 insertions, 0 deletions