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 'custom')
-rw-r--r--custom/extensions/email-gravatar.lua16
-rw-r--r--custom/extensions/email-libravatar.lua16
2 files changed, 30 insertions, 2 deletions