[reportlab-users] Tons of table questions

Henning von Bargen H.vonBargen at t-p.com
Thu Feb 26 07:53:22 EST 2009



> From: Robin Becker <robin at reportlab.com>

> Subject: Re: [reportlab-users] Tons of table questions

>

> I guess we could imagine a two pass algorithm where the first

> pass O(n) gathers

> overall width height data and accumulates stuff for a

> second pass which then

> lays out the data using a slice of the original data that's

> left to be rendered

> and does no copying at all of data or styles.

> --

> Robin Becker


I guess that further optimization requires additional conditions:
1) The first and all the following frames have to be of the same width.
2) Possibly: ... the same height.

But for long tables, at least condition 1) should be no problem
for real-world applications.

Henning


More information about the reportlab-users mailing list