#perl - Mon 5 Mar 2007 between 14:01 and 14:13



punterIkarus: XML::Tree doesn't exist: http://search.cpan.org/search?query=xml%3A%3Atree&mode=all&n=20&sourceid=mozilla-search
shortenpunter's url is at http://xrl.us/u65c
Ikaruspunter: oh, then I am mistaken
there atleast is another module alternate to XML
::DOM
but I only use XML::DOM + XQL myself
punter: I wouldn't ever write a new XML using app without XQL
punterIkarus: suppose you have a very simple array/hash structure like: { person => { name => 'John', address => { country => 'USA', city => 'New York' } } } - My module translates that to XML
Ikaruspunter: ah, such a module already exists iirc
Don't like it myself, I prefer DOM + XQL, as DOM is the standard methode of accessing XML documents (I also write C and Javascript code) and XQL makes accessing specific data very simple
actionCPAN upload: PPI-1.199_02 (+++++) by ADAMK
CPANupload: PPI-1.199_02 (+++++) by ADAMK
The_SBhi all, today, I had a little debate with my sysadmin , he asked if OOP decrease the performance of perl script , I said that AFAIK the only lost time is the the search at the hash represented the object. I think this lost is minor. can anyone refer me to perldoc or another document about this issue??t
IkarusThe_SB: if you are worried about this, don't use perl
somianIkarus: heh, you really read that question carefully, didn't ya
WebDragonmaybe he was thinking of XML::Twig? (:
Ikarussomian: I am in an awful mood today
mykhul_does anyone understand my question? this kind of goes hand-in-hand with what you guys are talking about right now --> http://rafb.net/p/8TCV0189.html
IkarusI really shouldn't be answering any question
somianThe_SB: I do not know of a perldoc wherein the penalty is discussed, I know that I've seen it discussed in Perl books.
ZemylaFor using $&?
IkarusThe_SB: it should be relativly insignificant if your ISA isn't huge
somianIkarus: hope your day turns around then, and I bow to you for realizing that sometimes we shouldn t be answering.
zghThe_SB: your sysadmin should get a job optimizing code for Google, he or she sounds like teh smrt
ZemylaTry benchmarking it for the files you want to work with.
somianThe are a lot of people more qualified than I am to answer, but I think I have heard the figure that about 40% additional time is added
WebDragonzgh: heh
somianThere are*
The_SBIkarus: no I am not worried - I like this language and want to enjoy the the benefits of it OOP , hence I am looking for an article which will help me to explain this issue
somianThere's a run time lookup of each method called ...
zghThe_SB: method resolution can slow down method calls, like Ikarus said a small @ISA(inheritance tree) will help
somianYes, small @ISA will keep that penalty small.
BinGOsRepeat the mantra:
zghThe_SB: worrying about OOP performance is so 1992
BinGOsIt'll be sorted out in Perl6
zghBinGOs++
heehee
snl20BinGOs--
BinGOs=[
somianBut. none of that "you are silly for worrying" will be a persuasive argument with his sysadmin.
Prof_VinceGumbyBRAIN: will per6 sort out starvation in africa ?

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 

IrcArchive