On Fri, 2 Jun 2006, David Berry wrote:
>>> I'll try some experiments with re-structuring the code to avoid re-use
>>> of linplot code...
>>
>> So you're saying David that you want to re-structure, but only a small
>> re-structure?
>
> Not sure yet.
>
>> Now you've solved the impossible, shouldn't we recode
>> chunks of CLINPLOT as if we had SwitchMaps from the outset rather than
>> reduce functionality?
>
> Using SwitchMaps will itself involve heavy restructuring, and even if the
> AGI-time went down to zero, it would still only give us a 25% run-time
> improvement.
It would save half to 2/3 because of the AGI_SLAB routine not being called
as often either.
The rest comes from KPG1_ASSET. Is it really not possible to cache the
style parsing in the LINPLOT loop? (I assume DISPLAY has the same problem
when it's drawing over CHANMAP output?)
> Basically, I think my advice to re-use LINPLOT code was wrong. It made for
> easier coding, but resulted in sluggish performance.
Well, it got a product out there quickly.
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|