| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
There is other quadratic complexity here -- in the regular expression. Example: expandvars('${'*1000000). Also, using re.sub() is more efficient here. See #134952. |
Sorry, something went wrong.
|
I suggest to close this PR in favor of #134952, unless the latter has serious flaws. Thank you anyway. |
Sorry, something went wrong.
|
No problem |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Above is a code that reproduces the problem, and the speed difference becomes more and more noticeable with the number of times. The above 200,000 times is 15x faster
print: