https://issues.apache.org/bugzilla/show_bug.cgi?id=44885

--- Comment #11 from Andreas L. Delmelle <[email protected]> 2011-04-19 
17:43:39 EDT ---
(In reply to comment #10)
> Thanks for your patch, Andreas! One question...
> 
> > New rough patch. Only confirmed that it renders the attached sample exactly 
> > the
> > same as before. Layout unit tests all seem to be unaffected, as expected. 
> > Some
> > checkstyle issues, I know. Definitely still far too sketchy and also 
> > generates
> > too much overhead.
> 
> Is this overhead also present if inline-container elements are not used?

That's a definite No. Only documents actually using fo:inline-container would
be affected.

The overhead I am referring to specifically, is the 'abuse' of
PageBreakingAlgorithm. While the approach makes sense for absolute-positioned
or rotated block-containers --and may turn out to be unavoidable for similar
inline-containers-, regular block-containers would generate less overhead than
regular inline-containers, which seems wrong somehow...?
I am worried that a document with, say 200 inline-containers would generate
just as many PageBreakingAlgorithms, and those can hardly be considered
light-weight objects. Those instances will take up valuable heap space, since
they are all kept alive until the parent's addAreas() has been called...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to