irstv/orbisgis — pull request #53 by agueganno (2012-07-13 13:06:36+00:00)
Title: Use HashMap to store Values rather than accessing the DataSource several times

Until now, we used to acces values by calling (almost) directly the DataSource. For some reasons it was not a good way to go :

- We needed to send the DataSource all over the rendering tree.
- We may have had to call several times the same data from the DataSource.

Considering that we already had ways to know the features that were needed by the symbolizers (through dependsOnFeature), I think it is more efficient to call this method and to retrieve the needed data at the early beginning of the drawing. This is th goal of this set of commits. They were first written for a point cache experimentation. The cache does not work as expected... but these commits are still meaninful, in my opinion.