Hi

> Is the Span... Approach more efficient than the Find/If/Mid approach?
> >
> > 1. How important is efficiency? Is the code (whichever
> > version) fast enough for your requirements?
>
> Yes.

Is that yes effeciency is imprtoant or yes it's fast enough?

> > 2. Profile it and see.
>
> Could you explain this?  Never done it.

Neither have I personally. If you;re using MSVC 6.0 there's a profiler
included, If not a quick google should turn up some links.

Just in case you're not familiar with the term profiling, it's where you get
a profiler to look at your code and tell you where most of the time is being
spent.

Regards
Paul

Paul Grenyer
email: [EMAIL PROTECTED]
web: http://www.paulgrenyer.co.uk
articles: http://www.paulgrenyer.dyndns.org/articles/

Darling leave a light on for me, I'll be there before you close the door To
give you all the love that you need,
Darling leave a light on for me 'cause when the world takes me away, You are
still the air that I breathe


_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to