mverleg / pyjson_tricks

Extra features for Python's JSON: comments, order, numpy, pandas, datetimes, and many more! Simple but customizable.
Other
153 stars 23 forks source link

Make `ignore_comments` not default (next major release) #74

Open mverleg opened 4 years ago

mverleg commented 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:

mverleg commented 2 years ago

As a way to address

I think it might be good to always try to

This way

mverleg commented 2 years ago

Released v3.16.1 with this optimization,