4 ms·
Though not for the same purpose, some of the tricks described remind me of the “compact slot map” described here: https://gamedev.stackexchange.com/a/33905 http
by jsenn 3y ago
Though not for the same purpose, some of the tricks described remind me of the “compact slot map” described here: https://gamedev.stackexchange.com/a/33905 https://gamedev.stackexchange.com/a/33905, including the “swap and pop” for deleting from the middle of the array.