[DiscordArchive] It wouldn't be all that beneficial and would greatly increase memory usage, you'd have to generate t
[DiscordArchive] It wouldn't be all that beneficial and would greatly increase memory usage, you'd have to generate t
Archived author: walkline • Posted: 2024-12-23T16:13:53.798000+00:00
Original source
If we take sorting into account, the complexity would be O(N*M+K) for the linear search and O(M+K) for the Trie approach, where K represents the cost of sorting the found results. Still HUGE improvement.
Archived author: walkline • Posted: 2024-12-23T16:15:23.996000+00:00
Original source
I agree, the current approach fits the need. Just some thoughts about potential improvements.
Archived author: sudlud • Posted: 2024-12-23T19:06:47.816000+00:00
Original source
<@209419353035243520> <@261790372743610368> you got any idea why this PR increased idle CPU load dramatically? 20% on my system on authserver and worldserver <https://github.com/azerothcore/azerothcore-wotlk/pull/20940>
teady_clock::now());` in network threads
Archived author: Takenbacon • Posted: 2024-12-23T19:11:36.120000+00:00
Original source
probably `_updateTimer.expires_at(std::chrono:
teady_clock::now());` in network threads
Archived author: Takenbacon • Posted: 2024-12-23T19:12:12.100000+00:00
Original source
not sure if it's ever sleeping
teady_clock::now()+std::chrono::milliseconds(1));`
Archived author: walkline • Posted: 2024-12-23T20:17:56.773000+00:00
Original source
Lol, yeah, it doens't make sense. It should be `_updateTimer.expires_at(std::chrono:
teady_clock::now()+std::chrono::milliseconds(1));`
Archived author: Kitzunu • Posted: 2024-12-23T20:26:14.461000+00:00
Original source
Yeah
Archived author: Kitzunu • Posted: 2024-12-23T20:26:16.455000+00:00
Original source
Thats my bad
Archived author: sudlud • Posted: 2024-12-23T20:30:07.537000+00:00
Original source
Nice
Archived author: sudlud • Posted: 2024-12-23T20:30:13.585000+00:00
Original source
<:blame_kitzunu:1254703013516410890>