mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 17:15:44 +00:00
Sprinkle use of AK::Vector in various places.
Some of these are less helpful than others. Avoiding a bunch of mallocs in the event loop wakeup code is definitely nice.
This commit is contained in:
@@ -167,7 +167,7 @@ void Thread::finalize()
|
||||
|
||||
void Thread::finalize_dying_threads()
|
||||
{
|
||||
Vector<Thread*> dying_threads;
|
||||
Vector<Thread*, 32> dying_threads;
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
for_each_in_state(Thread::State::Dying, [&] (Thread& thread) {
|
||||
|
||||
Reference in New Issue
Block a user