mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +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:
@@ -87,9 +87,9 @@ void IRCClient::receive_from_server()
|
||||
void IRCClient::process_line(ByteBuffer&& line)
|
||||
{
|
||||
Message msg;
|
||||
Vector<char> prefix;
|
||||
Vector<char> command;
|
||||
Vector<char> current_parameter;
|
||||
Vector<char, 32> prefix;
|
||||
Vector<char, 32> command;
|
||||
Vector<char, 256> current_parameter;
|
||||
enum {
|
||||
Start,
|
||||
InPrefix,
|
||||
|
||||
Reference in New Issue
Block a user