Closed gtalarico closed 7 years ago
https://github.com/gtalarico/revitapidocs/blob/master/app/utils.py#L96
using re.compile() and saving the resulting regular expression object for reuse is more efficient when the expression will be used several times in a single program
https://docs.python.org/2/library/re.html#re.compile
nevermind, it was already getting compiled on view/search api function: https://github.com/gtalarico/revitapidocs/blob/master/app/views.py#L91
https://github.com/gtalarico/revitapidocs/blob/master/app/utils.py#L96
https://docs.python.org/2/library/re.html#re.compile