[DO NOT MERGE] Don't drop/re-register handlers on quote transformers

Authored by ssastry on May 16 2018, 3:41 PM.

Description

[DO NOT MERGE] Don't drop/re-register handlers on quote transformers

  • This patch is for discussion and demonstration purposes only right now.
  • This could maybe improve performance by not registering/dropping handlers all the time OR this could hurt performance since all tokens now go through the quote-transformer instead of only being triggered on lines that have quotes to transform (can by verified by running some wikitext with --trace quote before/after this patch).
  • All tests pass.

Change-Id: I72e695dfa2542e8e363de8c21c29ef48a8000962

Details

Committed
ssastryMay 16 2018, 3:47 PM
Parents
rGPAR13969974ec97: Add rudimentary tracing to QuoteTransformer
Branches
Unknown
Tags
Unknown
References
refs/changes/10/433410/1
ChangeId
I72e695dfa2542e8e363de8c21c29ef48a8000962