Open mverleg opened 4 years ago
Stripping comments from files that are multiple megabytes takes an obscene amount of time, even if there are no comments.
I don't think I can make it much faster without writing a whole json parser (in something other than Python, or it can never compete).
So I'm thinking of something like:
ignore_comments=False
ignore_comments
As a way to address
I think it might be good to always try to
This way
Released v3.16.1 with this optimization,
Stripping comments from files that are multiple megabytes takes an obscene amount of time, even if there are no comments.
I don't think I can make it much faster without writing a whole json parser (in something other than Python, or it can never compete).
So I'm thinking of something like:
ignore_comments=False
the defaultignore_comments
is used to overrideignore_comments
is used to overrideignore_comments
is used to override