Forums WoW Modding Support Archives Azerothcore Discord Archives [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

[DiscordArchive] It wouldn't be all that beneficial and would greatly increase memory usage, you'd have to generate t

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
12-23-2024, 04:13 PM
#11
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.
rektbyfaith
12-23-2024, 04:13 PM #11

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.

rektbyfaith
Administrator
0
12-23-2024, 04:15 PM
#12
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.
rektbyfaith
12-23-2024, 04:15 PM #12

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.

rektbyfaith
Administrator
0
12-23-2024, 07:06 PM
#13
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>
rektbyfaith
12-23-2024, 07:06 PM #13

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>

rektbyfaith
Administrator
0
12-23-2024, 07:11 PM
#14
Archived author: Takenbacon • Posted: 2024-12-23T19:11:36.120000+00:00
Original source

probably `_updateTimer.expires_at(std::chrono:Confusedteady_clock::now());` in network threads
rektbyfaith
12-23-2024, 07:11 PM #14

Archived author: Takenbacon • Posted: 2024-12-23T19:11:36.120000+00:00
Original source

probably `_updateTimer.expires_at(std::chrono:Confusedteady_clock::now());` in network threads

rektbyfaith
Administrator
0
12-23-2024, 07:12 PM
#15
Archived author: Takenbacon • Posted: 2024-12-23T19:12:12.100000+00:00
Original source

not sure if it's ever sleeping
rektbyfaith
12-23-2024, 07:12 PM #15

Archived author: Takenbacon • Posted: 2024-12-23T19:12:12.100000+00:00
Original source

not sure if it's ever sleeping

rektbyfaith
Administrator
0
12-23-2024, 08:17 PM
#16
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:Confusedteady_clock::now()+std::chrono::milliseconds(1));`
rektbyfaith
12-23-2024, 08:17 PM #16

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:Confusedteady_clock::now()+std::chrono::milliseconds(1));`

rektbyfaith
Administrator
0
12-23-2024, 08:26 PM
#17
Archived author: Kitzunu • Posted: 2024-12-23T20:26:14.461000+00:00
Original source

Yeah
rektbyfaith
12-23-2024, 08:26 PM #17

Archived author: Kitzunu • Posted: 2024-12-23T20:26:14.461000+00:00
Original source

Yeah

rektbyfaith
Administrator
0
12-23-2024, 08:26 PM
#18
Archived author: Kitzunu • Posted: 2024-12-23T20:26:16.455000+00:00
Original source

Thats my bad
rektbyfaith
12-23-2024, 08:26 PM #18

Archived author: Kitzunu • Posted: 2024-12-23T20:26:16.455000+00:00
Original source

Thats my bad

rektbyfaith
Administrator
0
12-23-2024, 08:30 PM
#19
Archived author: sudlud • Posted: 2024-12-23T20:30:07.537000+00:00
Original source

Nice
rektbyfaith
12-23-2024, 08:30 PM #19

Archived author: sudlud • Posted: 2024-12-23T20:30:07.537000+00:00
Original source

Nice

rektbyfaith
Administrator
0
12-23-2024, 08:30 PM
#20
Archived author: sudlud • Posted: 2024-12-23T20:30:13.585000+00:00
Original source

<:blame_kitzunu:1254703013516410890>
rektbyfaith
12-23-2024, 08:30 PM #20

Archived author: sudlud • Posted: 2024-12-23T20:30:13.585000+00:00
Original source

<:blame_kitzunu:1254703013516410890>

Pages (3): Previous 1 2 3 Next
Recently Browsing
 
Recently Browsing