diff options
author | nicm <nicm@openbsd.org> | 2020-04-01 08:07:05 +0000 |
---|---|---|
committer | nicm <nicm@openbsd.org> | 2020-04-01 08:07:05 +0000 |
commit | c0239fbec1a3c90ae808790a14a26f052fbb19df (patch) | |
tree | f13996ba0633a96011294327dfcdd2897f3ffbaf /usr.sbin/npppd | |
parent | Use a comparison to check for wrap and avoid an expensive modulus. (diff) | |
download | wireguard-openbsd-c0239fbec1a3c90ae808790a14a26f052fbb19df.tar.xz wireguard-openbsd-c0239fbec1a3c90ae808790a14a26f052fbb19df.zip |
Do not go down the regex search path (which is expensive because we need
to convert the grid data into a string for regexec and reverse it to
find the grid position) if the search string does not contain any regex
special characters.
Diffstat (limited to 'usr.sbin/npppd')
0 files changed, 0 insertions, 0 deletions