Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^4: OOP/Linked List Question

by hok_si_la (Curate)
on Feb 08, 2005 at 04:11 UTC ( #428905=note: print w/replies, xml ) Need Help??

in reply to Re^3: OOP/Linked List Question
in thread OOP/Linked List Question


The list in my future code would be dynamic in size, and would contain anywhere from 50-1500 elements. I certainly obtained a ton of good advice on the topic. I need to consult my old operation cost charts from school, and play with a few of the ideas to decide which data type would be a best fit for my app. I am really looking forward to getting this running.


Replies are listed 'Best First'.
Re^5: OOP/Linked List Question
by BrowserUk (Pope) on Feb 08, 2005 at 04:24 UTC

    Well, have fun. Just remeber that O-notation comparisons of different algorithms general carry an unstated "all other things being equal" clause.

    That is, an O(N) algorithm written in C (like splice), may outform a O(1+a few bits) algorithm written in Perl, if N is fairly small (and 50-1500 is small in this context) and those "few bits" consitute several lines of Perl.

    Examine what is said, not who speaks.
    Silence betokens consent.
    Love the truth but pardon error.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2016-10-22 19:19 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (297 votes). Check out past polls.