wroberts / pytimeparse

A small Python module to parse various kinds of time expressions.
MIT License
285 stars 39 forks source link

Compile regexes #14

Closed sileht closed 7 years ago

sileht commented 7 years ago

Recompiling regex over and over is slow.

This change compiles them only once.

sileht commented 7 years ago

Pull-request updated, HEAD is now 1841f5e0b169fddf9e93ab980ef8636b1f12ccca

coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling 1841f5e0b169fddf9e93ab980ef8636b1f12ccca on sileht:master into on wroberts:master.

coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling 1841f5e0b169fddf9e93ab980ef8636b1f12ccca on sileht:master into on wroberts:master.

coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling 1841f5e0b169fddf9e93ab980ef8636b1f12ccca on sileht:master into on wroberts:master.

jd commented 7 years ago

@wroberts we're really eager to have this merged and release. Anything we can do to help?

wroberts commented 7 years ago

Looks good, people! Thanks for the PR. Just released 1.1.7.

jd commented 7 years ago

You rock @wroberts, thanks!