commit | 38d41996c12c160f9bcbb17b539554d3dc91b978 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Nov 03 14:50:29 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 05 19:27:09 2020 +0100 |
tree | c5ebae5ebb45743048358a41cf6e5d9edcd640dc | |
parent | 867a8a5a10ba7e15000dc58f5edf386f6d631a3e [diff] |
MEDIUM: pattern: turn the pattern chaining to single-linked list It does not require heavy deletion from the expr anymore, so we can now turn this to a single-linked list since most of the time we want to delete all instances of a given pattern from the head. By doing so we save 32 bytes of memory per pattern. The pat_unlink_from_head() function was adjusted accordingly.