| punter | Ikarus: XML::Tree doesn't exist: http://search.cpan.org/search?query=xml%3A%3Atree&mode=all&n=20&sourceid=mozilla-search |
| shorten | punter's url is at http://xrl.us/u65c |
| Ikarus | punter: 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 |
| punter | Ikarus: 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 |
| Ikarus | punter: 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 |
| action | CPAN upload: PPI-1.199_02 (+++++) by ADAMK |
| CPAN | upload: PPI-1.199_02 (+++++) by ADAMK |
| The_SB | hi 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 |
| Ikarus | The_SB: if you are worried about this, don't use perl |
| somian | Ikarus: heh, you really read that question carefully, didn't ya |
| WebDragon | maybe he was thinking of XML::Twig? (: |
| Ikarus | somian: 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 |
| Ikarus | I really shouldn't be answering any question |
| somian | The_SB: I do not know of a perldoc wherein the penalty is discussed, I know that I've seen it discussed in Perl books. |
| Zemyla | For using $&? |
| Ikarus | The_SB: it should be relativly insignificant if your ISA isn't huge |
| somian | Ikarus: hope your day turns around then, and I bow to you for realizing that sometimes we shouldn t be answering. |
| zgh | The_SB: your sysadmin should get a job optimizing code for Google, he or she sounds like teh smrt |
| Zemyla | Try benchmarking it for the files you want to work with. |
| somian | The 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 |
| WebDragon | zgh: heh |
| somian | There are* |
| The_SB | Ikarus: 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 |
| somian | There's a run time lookup of each method called ... |
| zgh | The_SB: method resolution can slow down method calls, like Ikarus said a small @ISA(inheritance tree) will help |
| somian | Yes, small @ISA will keep that penalty small. |
| BinGOs | Repeat the mantra: |
| zgh | The_SB: worrying about OOP performance is so 1992 |
| BinGOs | It'll be sorted out in Perl6 |
| zgh | BinGOs++ heehee |
| snl20 | BinGOs-- |
| BinGOs | =[ |
| somian | But. none of that "you are silly for worrying" will be a persuasive argument with his sysadmin. |
| Prof_Vince | GumbyBRAIN: will per6 sort out starvation in africa ? |