Nadav Har'El
6740907f3d
Merge 'utf8: don't linearize cells for validation' from Avi Kivity
...
Currently, we linearize large UTF8 cells in order to validate them.
This can cause large latency spikes if the cell is large.
This series changes UTF8 validation to work on fragmented buffers.
This is somewhat tricky since the validation routines are optimized
for single-instruction-multiple-data (SIMD) architectures.
The unit tests are expanded to cover the new functionality.
Fixes #7448 .
Closes #7449
* github.com:scylladb/scylla:
types: don't linearize utf8 for validation
test: utf8: add fragmented buffer validation tests
utils: utf8: add function to validate fragmented buffers
utils: utf8: expose validate_partial() in a header
utils: utf8: introduce validate_partial()
utils: utf8: extract a function to evaluate a single codepoint
2020-10-21 20:51:15 +03:00
..
2020-01-30 14:10:18 +02:00
2020-07-09 14:41:23 +03:00
2020-10-11 10:29:24 +03:00
2020-10-11 15:19:54 +03:00
2020-04-23 16:06:37 +03:00
2020-10-11 22:09:19 +03:00
2020-06-25 15:33:31 -07:00
2020-09-22 17:24:33 +03:00
2020-03-23 11:59:30 +02:00
2020-03-23 09:29:45 +02:00
2020-09-22 17:24:33 +03:00
2020-10-11 17:23:40 +03:00
2020-08-03 15:55:16 +03:00
2020-06-18 14:08:29 +03:00
2020-07-03 12:28:14 -07:00
2020-07-14 16:29:49 +03:00
2020-07-28 18:00:29 +03:00
2020-07-28 18:00:29 +03:00
2020-08-03 12:51:16 +03:00
2020-03-23 09:29:45 +02:00
2020-06-02 09:12:21 +03:00
2020-08-19 13:08:12 +03:00
2020-03-23 09:29:45 +02:00
2020-02-09 17:26:52 +02:00
2020-08-06 19:01:18 +03:00
2020-07-14 16:30:02 +03:00
2020-06-02 09:12:21 +03:00
2020-09-22 17:24:33 +03:00
2020-09-22 17:24:33 +03:00
2020-06-18 14:18:21 +03:00
2020-02-29 19:28:57 +02:00
2020-02-29 19:28:57 +02:00
2020-03-23 09:29:45 +02:00
2020-04-05 12:46:04 +03:00
2020-10-11 14:40:32 +03:00
2020-06-02 09:12:21 +03:00
2020-10-11 15:05:15 +03:00
2020-06-01 09:08:40 +03:00
2020-06-01 09:08:40 +03:00
2020-06-14 08:18:39 -07:00
2020-06-18 14:18:21 +03:00
2020-10-13 12:32:14 +03:00
2020-10-13 12:32:14 +03:00
2020-03-23 09:29:45 +02:00
2020-07-14 16:29:49 +03:00
2020-04-05 12:46:04 +03:00
2020-02-27 09:34:51 -05:00
2020-02-27 09:34:51 -05:00
2020-06-02 09:12:21 +03:00
2020-08-04 17:54:45 +03:00
2020-06-02 09:12:21 +03:00
2020-10-11 16:07:16 +03:00
2020-09-08 15:59:25 +03:00
2020-09-08 15:59:25 +03:00
2020-07-17 11:58:53 +03:00
2020-03-23 09:29:45 +02:00
2020-03-23 09:29:45 +02:00
2020-03-04 12:42:57 +02:00
2020-09-22 17:24:33 +03:00
2020-08-18 14:31:04 +03:00
2020-08-18 14:31:04 +03:00
2020-03-23 09:29:45 +02:00
2020-07-14 16:29:43 +03:00
2020-03-23 09:29:45 +02:00
2020-10-18 18:16:30 +03:00
2020-04-05 12:46:04 +03:00
2020-06-02 09:12:21 +03:00
2020-07-15 08:10:23 +00:00
2020-07-15 08:10:23 +00:00
2020-03-23 11:59:30 +02:00
2020-06-02 09:12:21 +03:00
2020-10-14 16:45:21 +03:00
2020-03-03 21:23:40 +02:00
2020-08-11 19:37:47 +08:00
2020-05-23 11:09:10 +03:00
2020-09-22 17:24:33 +03:00
2020-09-22 17:24:33 +03:00
2020-10-21 11:14:44 +03:00
2020-10-21 11:14:44 +03:00
2020-10-14 16:45:21 +03:00
2020-01-26 18:54:36 +02:00