#8497 ForgeMarkdown speedup

v1.15.0
closed
General
nobody
2023-09-14
2023-02-07
No

g.forge_markdown constructs a new ForgeMarkdown with a lot of extensions every time it is used. This can be a bit expensive. Re-using the same instance would probably require updates/fixes to some of our custom extensions. But lots of times cached_convert is used and gets a cached result so a full Markdown instance doesn't even need to be created then.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2023-02-07
    • status: in-progress --> review
     
  • Dave Brondsema

    Dave Brondsema - 2023-02-07

    db/8497

     
  • Dillon Walls - 2023-02-09
    • status: review --> closed
     
  • Dillon Walls - 2023-02-09

    looks good!

     
  • Guillermo Cruz - 2023-09-14
    • Milestone: unreleased --> v1.15.0
     

Log in to post a comment.