Andreas Kling
8d0344a636
LibJS: Avoid unnecessary MarkedVector in Bytecode::Op::Call::execute()
...
perform_call() wants a ReadonlySpan<Value>, so just grab a slice of the
current register window instead of making a MarkedVector.
10% speed-up on this function call microbenchmark:
function callee(a, b, c) { }
function caller(callee) {
for (let i = 0; i < 10_000_000; ++i)
callee(1, 2, 3)
}
caller(callee)
2024-01-22 23:05:16 +01:00
..
2024-01-22 23:05:16 +01:00
2023-12-17 18:25:10 +03:30
2024-01-14 14:56:33 -07:00
2023-12-17 18:25:10 +03:30
2024-01-21 15:47:53 -07:00
2024-01-14 16:08:52 -07:00
2023-12-17 18:25:10 +03:30
2023-12-17 18:25:10 +03:30
2023-11-30 09:51:46 -05:00
2023-11-29 09:48:18 +01:00
2023-12-17 18:25:10 +03:30
2023-12-03 20:46:55 +01:00
2023-12-07 14:06:34 +01:00
2023-12-17 18:25:10 +03:30
2023-12-17 18:25:10 +03:30
2023-12-17 18:25:10 +03:30
2023-12-17 18:25:10 +03:30
2023-12-03 20:46:55 +01:00
2023-12-17 18:25:10 +03:30
2023-12-17 18:25:10 +03:30
2023-12-17 18:25:10 +03:30
2023-12-17 18:25:10 +03:30
2023-12-26 11:16:10 +01:00
2023-11-19 12:10:31 +01:00
2023-12-17 18:25:10 +03:30
2023-12-17 18:25:10 +03:30
2023-12-13 11:19:13 +01:00
2023-11-29 09:48:18 +01:00
2023-12-03 20:46:55 +01:00
2023-12-03 20:46:55 +01:00
2023-12-23 20:41:07 +01:00
2023-12-17 18:25:10 +03:30