|
From: Daniel J S. <dan...@ie...> - 2004-09-27 21:07:34
|
Daniel J Sebald wrote: > So does it seem worthwhile including inside the above structure an > instance of t_sm_palette, so that we may have quick comparisons in the > case of palettes that are a color formula as opposed to user-defined > gradients? (Of course, I wouldn't store the gradient colors *and* the > color map pixels because that would be real bloat.) Or should we just > stick to what I described previously, and if someone has a lot of > varied palettes of very large size visible and is switching back and > forth between them they will just have to live with it. Ah... no need for the extra t_sm_palette. If searching through a, for some reason, long list of color maps, when they differ that should fail pretty quickly. So then the only people with slowed down response would be those with... lot's of plot windows open with lots of different color maps of large size and the colormaps only differ by the very last entry in the pixel[] array. All other normal users should be fine. Dan |