Jonne Ransijn
3f5e32ee84
LibWeb: Stop allocating Tokens and ComponentValues unnecessarily
...
When the "Consume a component value from input, and do nothing."
step in `Parser::consume_the_remnants_of_a_bad_declaration` was
executed, it would allocate a `ComponentValue` that was then
immediately discarded.
Add explicitly `{}_and_do_nothing` functions for this case that never
allocate a `ComponentValue` in the first place.
Also remove a `(Token)` cast, which was unnecessarily copying a `Token`
as well.
2024-12-01 11:30:06 +01:00
..
2024-12-01 10:42:49 +01:00
2024-11-30 17:35:45 +01:00
2024-11-18 19:55:46 -05:00
2024-11-30 11:17:44 +01:00
2024-12-01 11:30:06 +01:00
2024-11-30 16:47:14 +00:00
2024-11-19 19:24:37 +00:00
2024-11-30 12:07:39 +01:00
2024-11-30 17:05:01 -05:00
2024-11-30 12:07:39 +01:00
2024-11-24 11:12:08 +01:00
2024-11-24 11:11:44 +01:00
2024-11-30 11:55:11 +01:00
2024-12-01 10:42:49 +01:00
2024-11-26 14:50:27 +01:00
2024-11-25 11:53:50 +01:00
2024-11-23 09:52:32 +01:00
2024-11-29 15:43:59 +01:00
2024-11-17 22:14:14 +01:00
2024-11-26 23:51:02 +01:00
2024-11-30 12:07:39 +01:00
2024-11-24 19:28:13 +00:00
2024-11-30 17:35:45 +01:00
2024-11-22 12:43:57 +01:00
2024-11-20 18:01:21 -07:00
2024-11-30 12:07:39 +01:00
2024-11-30 11:19:35 +01:00
2024-11-23 16:43:55 +01:00
2024-11-27 10:58:45 +01:00
2024-11-26 18:32:48 +01:00
2024-11-22 14:33:58 +01:00
2024-11-23 16:43:55 +01:00
2024-11-25 17:16:06 +01:00
2024-11-24 11:11:44 +01:00
2024-11-23 16:43:55 +01:00
2024-11-26 11:00:48 +01:00
2024-11-30 12:07:39 +01:00
2024-11-27 17:10:32 +01:00
2024-11-30 17:35:45 +01:00
2024-11-26 18:32:48 +01:00
2024-11-30 11:19:35 +01:00
2024-11-30 11:19:35 +01:00