Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Algorithms, Datastructures and syntax

by mojotoad (Monsignor)
on Apr 04, 2003 at 22:35 UTC ( [id://248206]=note: print w/replies, xml ) Need Help??


in reply to Algorithms, Datastructures and syntax

Another way to look at it sometimes is this: in order to populate a data structure, you will have had to perform some algorithmic work in order to do so. Usually this pre-organization of the data will facillitate future data manipulation, making certain tasks easier or more efficient. In this sense, data structures can be seen as devices (such as a battery or reservoir) that store a certain amount of work -- once the work is done, you can reap the benefits time and time again in the future.

You see this also as a trade-off between time and space, such as with the Schwartzian Transform.

The real world is full of analogies (or vice versa) once you think of it in terms of work -- pulleys, levers, catalysts, etc. The task and physical circumstances ultimately define the approach towards a solution.

Matt

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-03-28 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found