----- Original Message -----
From: "Theodore H. Smith" <[EMAIL PROTECTED]>
My first guess as to why this was happening, was the correct guess. RB
was exactly allocated enough bytes for the resulting string. This meant,
that RB did no intermediate buffer copies, while mine and Charles's
buffer approaches suffered from intermediate buffer copies.
So, I made another test, no new plugin code, no new special techniques,
just a very simple modification. I set the resulting size of the buffer,
to the exact same size that I knew the resulting string would be.
Basically, I was doing the same thing RB is doing.
Over the past six months or so I have done this wherever I could, apparently
instinctively, if you could call it that. I am pleased you find this to be
the fastest way. It requires one to rethink his code carefully, but
apparently, it's been worth it. You confirm what I thought to be the fastest
method.
Ronald Vogelaar
--
http://www.rovosoft.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>