From: Pekka L. <pe...@ik...> - 2007-09-14 14:26:36
|
2007/9/14, Steve Lianoglou <lis...@ar...>: > Hi, > > > The pure python does work , I am using the one available here > > http://effbot.org/downloads/elementtree-1.2.6-20050316.zip > > Just out of curiosity, would it make sense to Java-ize the "real" > ElementTree (or lxml) library by swapping out the lib's internal > calls to c libraries w/ calls to java xml libraries while keeping the > python interface to them the same? In my opinion that makes a lot of sense. > This way, scripts will be portable between Jython and CPython and > still be relatively performant, no? If, as I'm assuming, using the > all-python version in this case causes a severe(?) penalty hit. Exactly. Having same API in Jython and CPython would be great but performance is often even more important. Cheers, .peke |