Wikipedia talk:AutoWikiBrowser/Typos: Difference between revisions
Content deleted Content added
Tom.Reding (talk | contribs) →The 76 slowest typos discussion: "-ment" down from 1st place -> 85th, or 355x -> ~125x the fastest rule, or 10 stdev -> ~2.8 |
→The 76 slowest typos discussion: remove the lookbehind completely? |
||
Line 283:
::{{Ping|Sun Creator}} <code>[A-Za-z]*</code> is equivalent to <code>[A-Za-z]{0,99}</code> since there is 0 threat of any 99-letter words. It might even be slower, b/c it has to check after each letter if it's still less than 99. I'll just make the described change above via a leading lookbehind as an example improvement. <b>~</b> <span style="font-family:Monotype Corsiva; font-size:16px;">[[User:Tom.Reding|Tom.Reding]] ([[User talk:Tom.Reding|talk]] ⋅[[WP:DGAF|dgaf]])</span> 02:36, 31 October 2019 (UTC)
:::The leading lookbehind brought the "-ment" rule down from 1st place to 85th, or from 355x slower than the fastest rule down to ~125x, or from 10 stdev from the mean down to ~2.8. <b>~</b> <span style="font-family:Monotype Corsiva; font-size:16px;">[[User:Tom.Reding|Tom.Reding]] ([[User talk:Tom.Reding|talk]] ⋅[[WP:DGAF|dgaf]])</span> 04:01, 31 October 2019 (UTC)
::::Naive question: {{diff||prev|923837359|this}} is a great improvement but can we remove the lookbehind completely? Surely all matches are preceded by 0 or more letters. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 10:36, 31 October 2019 (UTC)
|