Marc, I've filed an internal issue for us to investigate our serialization performance problems.
On Nov 24, 12:09 am, Marc Reichelt <mcreich...@googlemail.com> wrote: > 2. Reading the data by parsing a CSV file is faster than loading an > XML, but again is too slow. How are you parsing the CSV? Are you buffering the input? Any mechanism that generates many intermediate Strings will be inefficient on a device. > 4. Reading in the data using serialization is slow. The funny thing > here is: It takes a bit longer than loading the XML file. This is unfortunate, but not too unreasonable. Depending on what parser you use, XML might need to do as much work as serialization - reflectively inspecting types and doing proper serialization lifecycle requires a lot of complex code. I suspect there are still many opportunities to improve Java serialization here (caching reflected fields?); I'll investigate. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en