Over 16,525,089 people are on fubar.
What are you waiting for?


I recently worked on an Android app that parsed large amounts of JSON-formatted data. We would routinely allocate 20 or 30 kilobytes of heap space for Strings of JSON-formatted text retrieved from a server.  We’d pass the strings to the Android framework’s JSONObject class in order to construct our data models.  After downloading many objects in a short amount of time we discovered that we were frequently running out of memory and decided that we needed a different strategy to parse the content we downloaded from our server:  all those Strings and JSONObjects on the heap were killing us.

read more- http://tech.xtremelabs.com/parsing-json-data-efficiently-on-android-jsonreader/

Leave a comment!
html comments NOT enabled!
NOTE: If you post content that is offensive, adult, or NSFW (Not Safe For Work), your account will be deleted.[?]

giphy icon
blog.php' rendered in 0.0599 seconds on machine '196'.