|
|
|
|
|
by c-smile
962 days ago
|
|
> that most of hte libraries taking a JSON document approach are wasting a lot of time/memory I agree. That's the same situation as with XML/HTML. In many cases you don't really need to build a DOM or JSOM in memory. If your task is about deserializing some native structures. This XML scanner of mine does not allocate any memory at all while parsing HTML/XML:
https://www.codeproject.com/Articles/14076/Fast-and-Compact-... It is even simpler than SAX parser. |
|