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/extensions/email-gravatar.lua')
-rw-r--r--custom/extensions/email-gravatar.lua16
1 file changed, 15 insertions, 1 deletion