Dejan Mircevski
ea9d358df9
cql3: Optimize LIKE regex construction
...
Currently we create a regex from the LIKE pattern for every row
considered during filtering, even though the pattern is always the
same. This is wasteful, especially since we require costly
optimization in the regex compiler. Fix it by reusing the regex
whenever the pattern is unchanged since the last call.
Tests: unit (dev)
Signed-off-by: Dejan Mircevski <dejan@scylladb.com >
2019-08-21 16:45:47 +03:00
..
2019-06-28 16:43:25 +03:00
2019-08-06 15:11:19 +03:00
2019-06-12 10:11:08 +03:00
2019-06-28 16:43:25 +03:00
2019-01-30 11:17:38 +02:00
2019-07-04 11:32:57 +02:00
2019-05-07 07:11:07 +03:00
2019-01-30 15:24:31 +00:00
2019-01-30 11:17:38 +02:00
2019-05-07 07:11:07 +03:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-06-28 16:43:25 +03:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-06-24 14:06:41 +02:00
2019-06-24 14:06:41 +02:00
2019-06-28 16:43:25 +03:00
2019-05-07 09:58:21 +03:00
2019-08-21 16:45:47 +03:00
2019-08-18 20:41:07 +03:00
2019-06-28 16:43:25 +03:00
2019-05-07 10:00:58 +03:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-07-16 13:35:53 -04:00
2019-05-07 07:11:07 +03:00
2019-03-28 14:21:10 +02:00
2019-07-29 17:15:51 +02:00
2019-01-20 15:55:20 +02:00
2019-05-07 07:11:07 +03:00
2019-05-07 07:11:07 +03:00
2019-06-28 16:43:25 +03:00
2019-06-13 10:38:56 +03:00
2019-08-13 10:16:02 +03:00
2019-04-29 10:24:14 +03:00
2019-01-30 11:17:38 +02:00
2019-03-04 10:23:45 +00:00
2019-06-17 15:23:24 +03:00
2019-03-28 14:21:10 +02:00
2019-08-18 20:41:07 +03:00
2019-08-18 20:41:07 +03:00
2019-03-28 14:21:10 +02:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-01-30 11:17:38 +02:00
2019-06-13 14:45:48 +03:00
2019-03-26 11:52:44 +01:00
2019-01-30 11:17:38 +02:00
2019-08-12 19:48:31 +03:00
2019-05-07 10:00:58 +03:00
2019-02-07 20:18:14 +02:00
2019-07-10 12:06:10 +02:00
2019-02-14 22:37:41 +02:00
2019-07-15 17:38:00 +03:00
2019-06-28 16:43:25 +03:00
2019-07-21 16:42:54 +03:00
2019-01-08 13:16:36 +02:00
2019-04-10 18:05:36 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-08-20 00:24:51 +02:00
2019-08-13 09:47:55 +03:00
2019-08-01 13:03:03 +03:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-06-28 16:43:25 +03:00
2019-05-13 19:30:50 +02:00
2019-05-13 19:18:20 +02:00
2019-06-28 16:43:25 +03:00
2019-04-02 19:08:25 +03:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-01-08 13:16:36 +02:00
2019-01-22 18:24:52 -05:00
2019-04-29 19:56:20 -07:00
2019-01-30 11:17:38 +02:00
2019-01-08 13:16:36 +02:00
2019-07-28 10:59:50 +03:00
2019-01-30 11:17:38 +02:00
2019-07-19 11:58:42 +02:00
2019-01-30 11:17:38 +02:00
2019-07-19 11:58:42 +02:00
2019-01-30 11:17:38 +02:00
2019-07-15 23:24:16 +02:00
2019-01-18 17:49:46 +02:00
2019-03-28 14:21:10 +02:00
2019-08-05 14:55:56 +02:00
2019-08-08 14:11:35 +03:00
2019-08-06 15:11:19 +03:00
2019-03-26 16:05:08 +02:00
2019-04-11 18:50:42 +03:00
2019-03-26 16:05:08 +02:00
2019-03-28 14:21:10 +02:00
2019-01-22 18:25:01 -05:00
2019-03-26 16:24:19 +02:00
2019-02-11 14:45:43 +02:00
2019-08-18 20:41:07 +03:00
2019-03-26 16:05:08 +02:00
2019-02-11 17:14:47 +02:00
2019-02-11 17:14:47 +02:00
2019-07-08 15:28:21 +00:00
2019-03-28 14:21:10 +02:00
2019-05-07 10:00:58 +03:00
2019-01-08 13:16:36 +02:00
2019-01-30 11:17:38 +02:00
2019-02-13 09:08:12 +00:00
2019-08-14 10:02:00 -07:00
2019-03-26 16:24:19 +02:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-03-14 13:37:06 +00:00
2019-07-12 18:09:15 +02:00