Kefu Chai
949bb719cd
sstables: use try_emplace() when appropriate
...
so we don't have to search in the unordered_map twice. and it's
more readable, as we don't need to compare an iterator with the
sentry.
also, take the opportunity to simplify the code by using the
temporary `s3_cfg` when possible instead of `it->second.cfg`
which is less readable.
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com >
2023-07-04 15:40:10 +08:00
..
2023-06-06 13:29:16 +03:00
2023-06-21 00:58:24 +02:00
2023-05-09 16:47:00 +08:00
2023-04-21 09:49:24 +03:00
2023-04-28 16:59:29 +08:00
2023-04-27 10:24:46 +03:00
2023-05-04 18:29:04 +03:00
2023-06-21 13:02:40 +03:00
2023-03-29 16:13:59 +08:00
2023-06-06 13:29:16 +03:00
2023-06-06 13:29:16 +03:00
2023-06-06 13:29:16 +03:00
2023-04-21 14:28:18 +03:00
2023-04-27 12:06:48 -03:00
2023-04-27 12:06:48 -03:00
2023-04-10 23:31:35 +03:00
2023-06-21 13:02:40 +03:00
2023-06-21 13:02:40 +03:00
2023-06-06 13:29:16 +03:00
2023-06-26 22:30:39 -03:00
2023-06-26 22:30:39 -03:00
2023-06-26 22:30:39 -03:00
2023-06-06 13:29:16 +03:00
2023-07-04 15:40:10 +08:00
2023-06-21 13:02:40 +03:00
2023-06-21 00:58:24 +02:00
2023-06-21 00:58:24 +02:00
2023-07-03 13:53:13 +03:00
2023-06-06 13:29:16 +03:00
2023-04-27 10:24:46 +03:00
2023-03-21 09:56:18 +03:00
2023-06-06 13:29:16 +03:00
2023-06-06 13:29:16 +03:00
2023-05-04 16:55:41 +03:00