Willy Tarreau
2235b261b6
OPTIM: http: move all http character classs tables into a single one
...
We used to have 7 different character classes, each was 256 bytes long,
resulting in almost 2kB being used in the L1 cache. It's as cheap to
test a bit than to check the byte is not null, so let's store a 7-bit
composite value and check for the respective bits there instead.
The executable is now 4 kB smaller and the performance on small
objects increased by about 1% to 222k requests/second with a config
involving 4 http-request rules including 1 header lookup, one header
replacement, and 2 variable assignments.
2016-11-05 15:58:08 +01:00
..
2015-04-06 11:37:25 +02:00
2015-10-02 22:56:11 +02:00
2015-09-25 18:02:44 +02:00
2016-03-15 22:11:52 +01:00
2014-03-17 18:06:07 +01:00
2015-04-06 11:23:56 +02:00
2016-05-04 15:26:37 +02:00
2016-09-11 08:12:13 +02:00
2016-02-09 14:53:15 +01:00
2016-06-20 23:02:47 +02:00
2016-09-12 19:54:23 +02:00
2016-10-21 18:19:48 +02:00
2014-11-21 20:37:32 +01:00
2016-05-18 15:11:54 +02:00
2016-02-09 14:53:15 +01:00
2014-06-17 17:15:51 +02:00
2015-04-06 11:23:56 +02:00
2011-10-24 18:15:04 +02:00
2016-03-30 15:44:58 +02:00
2015-06-17 20:18:54 +02:00
2009-10-09 07:17:58 +02:00
2012-02-21 22:27:27 +01:00
2009-10-01 11:19:37 +02:00
2009-10-01 11:19:37 +02:00
2009-10-01 21:11:15 +02:00
2016-04-14 11:18:22 +02:00
2016-02-12 13:36:47 +01:00
2015-08-20 17:13:46 +02:00
2015-04-23 17:56:16 +02:00
2016-02-10 23:38:34 +01:00
2015-04-06 11:23:56 +02:00
2015-05-29 15:50:33 +02:00
2009-01-25 13:49:53 +01:00
2009-06-10 12:23:32 +02:00
2016-11-05 15:58:08 +01:00
2016-10-21 18:19:24 +02:00
2016-04-14 11:18:22 +02:00
2015-04-06 11:23:56 +02:00
2015-02-28 23:12:31 +01:00
2015-08-10 19:42:30 +02:00
2015-04-06 11:23:56 +02:00
2012-10-04 22:26:09 +02:00
2016-08-09 14:30:57 +02:00
2016-09-12 19:54:23 +02:00
2015-04-06 11:37:33 +02:00
2014-05-08 22:46:32 +02:00
2012-09-03 20:49:14 +02:00
2016-02-09 09:04:53 +01:00
2016-10-17 19:44:35 +02:00
2016-02-03 14:22:55 +01:00
2016-06-13 21:21:51 +02:00
2015-02-28 23:12:30 +01:00
2006-06-29 18:54:54 +02:00
2016-03-10 17:28:04 +01:00