[comp.windows.x] x_draw_line vs x_draw_segments

rusty@GARNET.BERKELEY.EDU (04/22/89)

I have some code where it draws a bunch of lines, but it flip-flops
between 2 GCs.  For example, the odd lines use GC "a" and the even
lines use GC "b".  The code basically is just a "for" loop with an
x_draw_line and a line of code to flip the gc.

Would I reduce my overhead or anything by building up 2 x_segments for
each GC and then use x_draw_segments?  (If so, how much?)