XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Introducing Anobind
Subject: Use memoization
Date: 2003-08-15 23:44:19
From: David Mertz

Anobind looks interesting to me--similar in philosophy to gnosis.xml.objectify, but with some nice touches like the XPattern specializations, and the stringify simplification.


I have not looked at the source code yet, so probably you have already thought of this. But a user of my library pointed out a while back that memoizing the dynamically generated classes can lead to a huge speed increase. Obviously, for custom classes, you have predefined them; but for dynamic ones, there's no need to repeatedly define classes to match tag names. Actually, since Uche probably already did this... this technique is more a hint to other readers :-).


No Previous Message Previous Message   Next Message No Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938