George Kollias
c2343dc841
Make restricting reader fill_buffer more efficient
...
Currently, restricting_mutation_reader::fill_buffer justs reads
lower-layer reader's fragments one by one without doing any further
transformations. This change just swaps the parent-child buffers in a
single step, as suggested in #3604 , and, hence, removing any possible
per-fragment overhead.
I couldn't find any test that exercises restricting_mutation_reader as
a mutation source, so I added test_restricted_reader_as_mutation_source
in mutation_reader_test.
Tests: unit (release), though these 4 tests are failing regardless of
my changes (they fail on master for me as well): snitch_reset_test,
sstable_mutation_test, sstable_test, sstable_3_x_test.
Fixes : #3604
Signed-off-by: George Kollias <georgioskollias@gmail.com >
Message-Id: <1540052861-621-1-git-send-email-georgioskollias@gmail.com >
2018-10-22 11:36:54 +03:00
..
2018-09-20 11:31:24 +02:00
2018-10-10 11:44:54 -07:00
2018-10-08 10:48:30 +01:00
2018-09-12 12:14:21 +01:00
2018-05-14 09:41:06 +03:00
2018-05-31 15:51:11 +01:00
2018-06-25 09:21:47 +01:00
2018-06-27 21:51:04 +02:00
2018-06-25 09:21:47 +01:00
2018-06-19 16:26:52 +03:00
2018-09-18 17:22:59 +01:00
2018-04-29 11:03:21 +03:00
2018-05-31 15:51:11 +01:00
2018-10-21 08:41:46 +03:00
2018-10-21 08:41:46 +03:00
2018-10-21 08:41:46 +03:00
2018-06-14 14:24:01 +01:00
2018-08-27 19:24:00 +01:00
2018-06-26 18:54:44 +02:00
2018-04-29 11:03:21 +03:00
2018-08-27 19:24:05 +01:00
2018-04-24 11:29:57 +02:00
2018-05-09 16:52:26 +01:00
2018-09-25 18:02:46 -07:00
2018-09-28 14:27:55 +03:00
2018-09-18 17:22:59 +01:00
2018-09-20 11:31:24 +02:00
2018-08-14 12:27:14 +01:00
2018-09-18 17:22:59 +01:00
2018-06-15 09:56:45 +01:00
2018-08-01 16:50:58 +01:00
2018-07-20 13:51:13 -07:00
2018-07-25 13:16:06 +02:00
2018-05-28 18:12:12 +03:00
2018-04-16 21:00:35 +02:00
2018-09-05 10:19:59 +03:00
2018-06-11 15:34:14 +03:00
2018-06-11 15:34:14 +03:00
2018-05-31 15:51:11 +01:00
2018-09-20 11:31:24 +02:00
2018-09-20 11:31:24 +02:00
2018-07-17 20:15:32 +08:00
2018-05-31 10:09:01 +01:00
2018-10-09 10:18:28 +03:00
2018-09-20 11:31:24 +02:00
2018-09-03 10:31:44 +03:00
2018-07-17 16:32:04 +03:00
2018-09-20 11:31:24 +02:00
2018-09-06 20:54:57 +03:00
2018-10-22 11:36:54 +03:00
2018-10-18 19:13:58 +02:00
2018-06-28 17:20:28 +08:00
2018-09-20 11:31:24 +02:00
2018-06-27 21:51:04 +02:00
2018-10-19 16:47:12 +00:00
2018-09-26 19:24:10 -07:00
2018-09-25 17:55:52 -07:00
2018-07-11 10:15:01 +01:00
2018-05-31 15:51:11 +01:00
2018-09-20 11:31:24 +02:00
2018-09-03 10:31:44 +03:00
2018-07-18 12:28:06 +01:00
2018-07-18 12:28:06 +01:00
2018-09-20 11:31:24 +02:00
2018-09-20 11:31:24 +02:00
2018-09-20 11:31:24 +02:00
2018-05-22 16:52:58 +02:00
2018-10-07 19:14:29 +03:00
2018-10-09 15:05:20 +01:00
2018-05-31 15:51:11 +01:00
2018-10-10 11:44:54 -07:00
2018-10-03 10:56:40 +02:00
2018-10-12 14:18:15 +02:00
2018-06-25 09:37:43 +01:00
2018-09-25 17:55:52 -07:00
2018-09-25 18:02:46 -07:00
2018-05-04 14:38:13 +02:00
2018-06-28 17:20:28 +08:00
2018-07-18 12:28:06 +01:00
2018-04-24 23:12:07 +01:00
2018-07-26 12:03:37 +01:00
2018-09-17 00:38:55 +01:00
2018-10-08 20:37:11 +01:00
2018-04-16 20:26:44 +02:00
2018-06-04 11:31:29 +01:00