HI all, I've written an app that does on-the-fly download, unzip and parsing of a big KML geographic datafile. The datafile is refreshed on a server every hour so Ideally I'd like to refresh every now and then.
I'm running the parse in a separate thread (with very infrequent blocks/locks) using a tiny hand-built flat-file parser (it uses intrinsic types to remove GC stalls). The zipped KML is about 400KB, unzipped it is 4.5MB. Unzip buffer is 10KB. My emulator's /proc/cpuinfo says 250 bogomips. My code parses the zipped KML in just over 8 minutes. I've not yet thrown parsed output into any kind of database yet - for development I just store new classes in an ArrayList when I see KML elements I need. Any random thoughts or suggestions that might make refresh a bit faster? How fast is real hardware? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
