Re: Which is faster ?

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...
DerekParnell said...

No. Actually I mis-remembered. What I was thinking about was the difference between find() and map() - there is a point at which map() becomes faster than find(). But you are correct, find() is always faster than looping if you have an unordered sequence to scan through.

Ok. That I believe. smile

Matt

Thanks Derek and Matt for the information.
I gave up using maps because i kept running
into problems that I could not trace the origin of
and the maps seemed to be slower because of the overhead of calling them.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu