Post 4 made on Friday February 6, 2009 at 03:00 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,997 |
|
|
Marco,
Not trying to burst your bubble here. I understand that you'd want smaller chunks 10-20 channels and maybe for 2 days. To mel, it makes PERFECT sense to scrape full XML, transcode into database or something on PC and then download chunks to Pronto. Hence, my question for Barry Gordon about ProntoPal.
As you are a new programmer, you probably have never dealt with things such as Javascript or know the underlying memory models for data.
ECMA357 (E4X) extensions to ECMA262 (Javascript) are not lightweight as I've already mentioned. You will likely have at least 100% overhead if not larger when you convert the XML into E4X xml objects.
Also, keep in mind that a single ASCII string character actually takes 2 bytes of memory in the Pronto as strings are stored as Unicode. So, if you have a 32MB file, the actual memory size of the data is 64MB - before the XML parse.
|
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|