-
-
It should not be 10x or 100x faster, it should not be more than the cost of loading a small binary file from disk. A good old hash table can be written in a way that does not need to be serialized/unserialized, and this is not rocket science...
-
..and if they just HAVE to have the data as json, it's trivial to preprocess.
End of conversation
New conversation -
-
-
I work in web and JSON is terrible there as well, its not great that we have settled on a bloated text format for sending data, which is slow to generate and slow to parse. Why? Human readability? Great!
-
It's not even particularly readable (better than XML at least, though...)
- Show replies
New conversation -
-
-
What is the normal sane video game solution to this? Curious being a mostly web developer myself.
-
This data is going to be a bunch of records with known field names. You just transmit and load packed binary data, probably just using integers to refer to the field names so you don't need to allocate strings for that. You never reallocate the contents, you just load the
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.