Read about: http://elfdata.com/plugin/
Download: http://elfdata.com/plugin/elfdata.zip
New release of ElfData: Version 5.43
* Added optional Start and Length parameters to ElfData.ToString,
this makes it like doing ElfData.Mid(Start,Length).ToString but faster.
* Added ElfDataParser.ProcessToken (read the docs or look at
iTunesParser.rbp in the examples to see a demo of it).
* Fixed a bug that stopped ElfDataFile streaming data on Windows! (It
was Win32's fault for it's open/read/write functions not behaving the
same as on Unix)
Check out the iTunesParser.rbp demo, which features a new way of
getting information out of ElfData and into RB objects. It's probably
around 10x faster at getting data out of iTunes XML than even my
TinyXML project is. Mostly because it kind of doesn't process it in a
"proper XML" manner ;) but also because of the new .ProcessToken
function.
I added this feature because I've seen many people try to parse iTunes
XML with my plugin, but doing it without parsing the XML properly
because they wanted even more speed. And I thought... "why not really
give them something they want, that could solve their problem".
ElfDataParser.ProcessToken is a tiny function (about 8 lines of C
code), in terms of implementation. A very small amount of code, which
means it is fast and takes a tiny amount of RAM. It's all about
finding opportunistic ways to improve things, really. I can add a new
"paradigm" of parsing with just a few lines of plugin code.
Also, I'm a bit disappointed in Win32 for not behaving like it should,
and causing that bug in ElfDataFile. But I found a work around...
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>