Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Trim avatar addresses in linear time
The trim pattern backtracked over a run of spaces inside an address, which a commit can carry, and a log page runs the filter for every row. Forty thousand spaces took two seconds per row.
Diffstat (limited to 'tests/extensions/test-email-avatar.lua')
-rw-r--r--tests/extensions/test-email-avatar.lua6
1 file changed, 6 insertions, 0 deletions