News for hackers. Stuff that matters.
Re:Load Balancing: The Intuition Behind the Power of Two Ran... by andromeduck on Friday August 18, 2023 @02:50AM (#37172131)
O(log n) vs O(1)
Re:Load Balancing: The Intuition Behind the Power of Two Ran... by ryanschaefer on Friday August 18, 2023 @08:53AM (#37174968)
Is there a way to keep a list with changing values sorted in real time in order to use a log n search algorithm?
Re:Load Balancing: The Intuition Behind the Power of Two Ran... by andromeduck on Friday August 18, 2023 @11:12AM (#37176773)
It's log n either way.
Re:Load Balancing: The Intuition Behind the Power of Two Ran... by throw_pm23 on Thursday August 31, 2023 @03:45AM (#37333790)
Yes, a binary search tree that is dynamically balanced, for example red-black or avl.