summary refs log tree commit diff stats
path: root/tinyc/tests
diff options
context:
space:
mode:
authorwhiterock <whiterockftp@gmail.com>2020-01-22 16:02:16 +0100
committerAndreas Rumpf <rumpf_a@web.de>2020-01-22 16:02:16 +0100
commitef9fb39cdf4fa0f260ced0c5cccb1fafc7993e7a (patch)
treec86fb91e2330bc3f27a02ecd7d82abf77ede0659 /tinyc/tests
parent2fad7f134fa8cf871cdf6ccdcedc6df0d62c2f64 (diff)
downloadNim-ef9fb39cdf4fa0f260ced0c5cccb1fafc7993e7a.tar.gz
added note to re constructor regarding performance (#13224)
Since I was new to regex I did not know that there is a compilation going on with ``re"[abc]"`` constructor and so I followed the other examples in the docs blindly, that is I just put the constructor directly in the arguments of match, find, etc., which was inside a loop and then wondered why my performance was so bad. Of course putting it outside the loop made it vastly more performant. People like me would benefit from the small note I added I would think :)
Diffstat (limited to 'tinyc/tests')
0 files changed, 0 insertions, 0 deletions