[DiscordArchive] could you iterate a copy of the map instead of accessing the map by pointer and then delete the copy
[DiscordArchive] could you iterate a copy of the map instead of accessing the map by pointer and then delete the copy
Archived author: Anchy • Posted: 2022-09-19T01:48:10.397000+00:00
Original source
could you iterate a copy of the map instead of accessing the map by pointer and then delete the copy after?
Archived author: Anchy • Posted: 2022-09-19T01:48:14.485000+00:00
Original source
or is that an expensive copy
Archived author: Nefertum • Posted: 2022-09-19T03:08:41.681000+00:00
Original source
Yeah I thought about that too but I'm afraid that's even more expensive than the implementation I made
Archived author: Nefertum • Posted: 2022-09-19T03:09:55.955000+00:00
Original source
Also I'm thinking about changing the remove spell cooldown method and make it return an updated iterator
Archived author: Nefertum • Posted: 2022-09-19T03:10:40.397000+00:00
Original source
And for the categories leave it as it is right now, storing in the set and then deleting