Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Storing state of execution (speed)

by tye (Sage)
on Dec 09, 2015 at 16:01 UTC ( #1149789=note: print w/replies, xml ) Need Help??


in reply to Re^2: Storing state of execution
in thread Storing state of execution

or if the data structure is large (speed becomes an issue) then Storable would probably be best.

That doesn't match my memory. A quick test showed JSON::XS taking just over 1/3 of the time of Storable (and producing almost exactly the same number of bytes of output).

Using JSON has other advantages. And I consider forcing one to stick to simple data to be one of them.

- tye        

  • Comment on Re^3: Storing state of execution (speed)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2022-05-20 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (73 votes). Check out past polls.

    Notices?