Commits
Click on a commit to change the comparison rangeperf(core): precompile hex color regex pattern at module level
Move _HEX_COLOR_PATTERN regex compilation from inside _render_mermaid_using_api() to module level. This avoids recompiling the regex on every function call, improving performance when rendering multiple Mermaid graphs.
Also combined nested if statements per SIM102 lint rule.18 hours ago
by Rudra-Tiwari-codes