Based on my observations, there is already buffering built into the Stream
classes, whether that be at the RB or OS level. You probably can't make
your
code any faster by attempted to buffer the input or output yourself, so
don't worry about it.

Remember that's not true for writes on Windows, though it does appear to be
true for the most part on Mac OS. (I say for the most part because when I
tested your original function but with reading/writing all at once, I did
shave a couple seconds despite the overhead of using split/join.)

The RegEx class is handy, but ultimately slow. If speed is an issue, roll
your own solution. (I allow that perhaps there are settings that I failed
to
change that would have made this faster.)

In your tests was RegEx slow at searching, or simply at the replace?

Daniel L. Taylor
Taylor Design
Computer Consulting & Software Development
[EMAIL PROTECTED]
www.taylor-design.com

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to