Hello Human, > Also, I discovered that I need to keep the whole report in memory > until it is fully built, then I have to sort the paragraphs in a > special order. So, writing to disk is excluded.
Then you have to do a lot of Move's after the whole buffer is build. To avoid that you can allocate a buffer per paragraph and add it to a TList. Make each buffer the maximum predicted size of the paragraph. For the sorting you just have to move pointers in the list. Very quick. --- Rgds, Wilfried http://www.mestdagh.biz __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
