You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've observed that the code uses data[index:] for regular expression matching on each occasion. When dealing with a very large Nginx configuration file, for instance, one with tens of thousands of lines, the loading speed can be significantly slow, sometimes taking several hours to complete. I improved this by optimizing A slice of 1000, which greatly increases the parsing speed. A slice of 1000 is typically adequate to fulfill the parsing requirements.
The text was updated successfully, but these errors were encountered:
I've observed that the code uses data[index:] for regular expression matching on each occasion. When dealing with a very large Nginx configuration file, for instance, one with tens of thousands of lines, the loading speed can be significantly slow, sometimes taking several hours to complete. I improved this by optimizing A slice of 1000, which greatly increases the parsing speed. A slice of 1000 is typically adequate to fulfill the parsing requirements.
The text was updated successfully, but these errors were encountered: