Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: Hash vs constant vs package vs other for data structure

by oldtechaa (Beadle)
on Mar 28, 2017 at 13:12 UTC ( [id://1186245]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Hash vs constant vs package vs other for data structure
in thread Hash vs constant vs package vs other for data structure

I may go with this method actually since I see the memory benefits should be quite large. What's more, to get the list of objects all I need to do is get the keys and sort them by the $x value, reducing algorithmic complexity a ton from a full array search. Thanks.
  • Comment on Re^4: Hash vs constant vs package vs other for data structure

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found