Mercurial > prosody-modules
comparison mod_http_oauth2/html/error.html @ 5276:67777cb7353d
mod_http_oauth2: Pedantic optimization
Checking the length of the string seems like 30% more expensive than
comparing it with the empty string (by reference, probably).
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Mar 2023 14:37:42 +0200 |
parents | aaa64c647e12 |
children | 8d3e7b201ba4 |
comparison
equal
deleted
inserted
replaced
5275:3e30799deec2 | 5276:67777cb7353d |
---|