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

Reply via email to