On Fri, Feb 05, 1999 at 02:28:41PM +0100, Lars Gullik Bjønnes wrote:
> >> Allan Rae writes:
>
> AR> AFA memcpy is concerned I found it necessary to use such
> AR> "low-level" techniques to squeeze enough performance out of a
> AR> couple of very heavily utilized LString methods so they
> AR> resulting in significant performance improvements. As a result
>
> Low-level is ok inside the string class. Note that LString is
> completely rewritten in 1.0.0.
One thing we do at work with our "lower-level" libraries is perform
compile-time tests. I.e. whoever wrote the lib also takes the time to
write a program that stress-tests that lib, looking for segfaults,
failures of the code to function as advertised, etc. Such tests would
IMNSHO be of *great* value to the code cleanup and definitely worth
the time investment.
As a coworker of mine says, "There always seems to be time to do
something over but never time to do it right in the first place."
--
John Weiss
On a train, someplace between Pawling and White Plains...