openqasm / qe-compiler

An MLIR based compiler dynamic circuit compiler for real-time control systems supporting OpenQASM 3
Other
46 stars 15 forks source link

Don't recompile regex for every delay. 52.76->48.47 on 101x51 delay/… #158

Closed oliverdial closed 1 year ago

oliverdial commented 1 year ago

On circuits that are about 50% delays, this is worth about 5% in CPU time. Not a huge win, but hey, it's one line :)

github-actions[bot] commented 1 year ago

clang-tidy review says "All clean, LGTM! :+1:"