Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: Shouldn't JSON be faster?

by sflitman (Hermit)
on May 31, 2010 at 06:53 UTC ( #842357=note: print w/ replies, xml ) Need Help??

in reply to Re: Shouldn't JSON be faster?
in thread Shouldn't JSON be faster?

That's interesting, I was able to show the same benefit. Why is OO interface slow?


Comment on Re^2: Shouldn't JSON be faster?
Re^3: Shouldn't JSON be faster?
by Anonymous Monk on May 31, 2010 at 15:01 UTC
    What are you talking about? load_json is faster than load_config, and load_json is the only OO code shown
Re^3: Shouldn't JSON be faster?
by Your Mother (Chancellor) on May 31, 2010 at 17:03 UTC

    OO uses methods instead of straight subs/functions and they (in the past at least) introduce an overhead of like 30%. OO is fantastic where appropriate but for stuff like this I think the functional interface is better.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://842357]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2015-05-22 15:20 GMT
Find Nodes?
    Voting Booth?

    In my home, the TV remote control is ...

    Results (460 votes), past polls