xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Finn Bock <bck...@worldonline.dk>
Subject Re: Performance improvement in property consumption.
Date Thu, 14 Oct 2004 19:02:27 GMT

>>Keep in mind that there is 2 different sets of
>>properties:
>>- The set of specified properties.
>>- The relevant properties (as listed in the spec
>>under each element).
>>
>>The existing PropertyList stores the specified
>>properties in the super 
>>HashMap and has an additional cache which stores all
>>retrieved properties.

[Glen]

> Ummm...just to be very careful so I can understand
> what you're saying--instead of "retrieved properties"
> above, did you mean "relevant properties"?

No, the current PropertyList caches nearly all accessed properties. This 
  was added (IIUC) to improve speed of repeated retrieval of the same 
property, as typically seen for inherited properties.

You can find the caching in PropertyList.findProperty().

regards,
finn

Mime
View raw message