Avi Kivity
f7413a47e4
sstables: writer: avoid recursion in variadic write()
...
Following 9b6ce030d0 ("sstables: remove quadratic (and possibly
exponential) compile time in parse()"), where we removed recursion
in reading, we do the same here for variadic write. This results
in a small reduction in compile time.
Note the problem isn't very bad here. This is tail-recursion, so likely
removed by the compiler during optimization, and we don't have additional
amplification due to future::then() double-compiling the ready-future
and unready-future paths. Still, better to avoid quadratic compile
times.
Closes scylladb/scylladb#27050
2025-11-18 08:17:17 +02:00
..
2025-09-17 17:32:19 +03:00
2025-10-07 13:20:06 +03:00
2025-11-07 11:25:07 +02:00
2025-09-29 13:01:21 +02:00
2025-05-14 08:32:05 +02:00
2024-12-18 17:45:13 +02:00
2025-01-14 07:56:39 -05:00
2025-07-15 10:10:23 +03:00
2025-07-15 10:10:23 +03:00
2025-10-13 08:53:25 +00:00
2024-12-18 17:45:13 +02:00
2025-09-29 13:01:21 +02:00
2025-10-17 10:26:50 +03:00
2025-07-31 13:10:41 +03:00
2025-10-29 20:13:08 +02:00
2025-10-29 20:13:08 +02:00
2025-09-07 00:30:15 +02:00
2024-12-18 17:45:13 +02:00
2025-01-27 09:29:26 -05:00
2024-12-18 17:45:13 +02:00
2025-09-29 06:49:14 +03:00
2025-03-19 13:03:29 +03:00
2024-12-18 17:45:13 +02:00
2025-08-08 11:46:21 +03:00
2024-12-18 17:45:13 +02:00
2025-07-17 10:32:57 +02:00
2025-09-29 13:01:21 +02:00
2025-02-10 15:44:55 +03:00
2024-12-18 17:45:13 +02:00
2025-07-25 10:45:32 +03:00
2025-09-24 13:23:38 +03:00
2024-12-18 17:45:13 +02:00
2025-09-24 13:23:38 +03:00
2024-12-18 17:45:13 +02:00
2025-09-24 13:23:38 +03:00
2025-07-25 10:45:32 +03:00
2025-10-22 16:46:31 +02:00
2025-10-13 08:53:25 +00:00
2025-11-14 17:55:41 +02:00
2024-12-18 17:45:13 +02:00
2025-06-24 09:16:28 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-06-24 09:16:28 +03:00
2024-12-18 17:45:13 +02:00
2025-06-24 09:16:28 +03:00
2025-06-24 09:16:28 +03:00
2025-09-01 14:58:21 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-05-07 14:43:20 +02:00
2025-10-13 08:53:25 +00:00
2025-10-13 08:53:25 +00:00
2025-09-17 17:32:19 +03:00
2025-07-27 19:39:36 +03:00
2025-10-28 19:27:35 +01:00
2025-10-28 19:27:35 +01:00
2025-10-28 19:27:35 +01:00
2024-12-18 17:45:13 +02:00
2025-09-29 22:15:24 +02:00
2025-09-29 22:15:24 +02:00
2024-12-18 17:45:13 +02:00
2025-09-07 00:32:02 +02:00
2025-04-09 08:54:07 +03:00
2025-10-13 08:53:25 +00:00
2025-10-13 08:53:25 +00:00
2024-12-18 17:45:13 +02:00
2025-11-14 18:00:33 +02:00
2025-11-13 14:08:26 +01:00
2024-12-18 17:45:13 +02:00
2025-10-13 08:53:26 +00:00
2025-10-13 08:53:25 +00:00
2024-12-18 17:45:13 +02:00
2025-09-29 22:15:24 +02:00
2025-09-29 22:15:25 +02:00
2025-09-07 00:32:02 +02:00
2025-09-07 00:32:02 +02:00
2025-11-18 08:17:17 +02:00