Jeremy Cowgar wrote:
Some of the text files are ~100k in size. I have not run into a speed
problem, but if there is a right/wrong way of doing it, I'd rather do it
the right way to begin with. I know everyone says premature optimization
is evil, but no sense either in using the known fast method to start
with. I don't really profile my apps until I've got a good base in
place, but I don't use methods I know are slow either.
If there's a method that's both faster AND clearer (or at least, just as
clear) as another, you should use it from the start. In this case, I
really think a string array fits the bill.
Best,
- Joe
--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|