If there are no comments in the source, then there is no documentation :-(
Reverse engineering/studying the code is what we'd have to do if that were
the approach to be taken here.

-phil.

On 10/12/18, 2:18 AM, Laurent Bourgès wrote:
Phil,
I looked at the hostpot in src/java.desktop/share/native/libawt/java2d/pipe/ShapeSpanIterator.c (75% cpu time) and its sort algorithm looks like an insertion sort ... If you could give me some explanations (or documentation), I could try optimizing this method.

Do you know if it uses an Active Edge Table (AET) or it traverses all segments every time ?
i.e. segmentTable contains only ACTIVE segments or all ?

Reply via email to