Good Prompts

Compute regexes at module level

Regexes are repeatedly constructed in functions or loops.

Posted by
@_dylanga
Added
Scope
Performance · runs in a repo
  • 927likes
  • 13replies
  • 31shares
  • 108Kviews

prompt

compute all regexes at the module level instead of inside functions and loops

unverified·fix it on github