↧
New Post: Need optimizations
I'm using JSON library with NETCF 2.0. It works, but it is some what slow. Looking the source code, I saw that internal Dictionaries and Collections are initialized without any initial capacity, while...
View ArticleNew Post: Need optimizations
Just add two static values in JsonReader class to initialize the capacity of the new Dictionaries and Lists; It takes me 2.2 seconds (running on Psion EP10) to process a 200 kbytes json (minified) string.
View ArticleNew Post: Need optimizations
Also, it is quite annoying that I can't inherent JsonWriter and overwrite the behaviour for datetime serialization. I don't see any good reason to have sealed classes.
View Article