trichview.com

trichview.support




Re: SaveRVFToStream slow?


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/22/2004 21:46:18


So this is a limitation of TMemoryStream, I'm afraid.

May be it's because it reallocates memory many times when writting.


Ideas... Try to use Stream.SetSize to set stream size so that it can contain

the whole RVF before saving. When set Stream.Position = 0, save RVF, then

SetSize(Stream.Position).

May be it will be faster.





Powered by ABC Amber Outlook Express Converter