[OpenLayers-Dev] Code Sprint: SLD

Andreas Hocevar andreas.hocevar at gmail.com
Wed Oct 3 22:55:14 EDT 2007


Cameron, Alex,

I think from my previous posting it might not be quite clear what this
eval() thing was all about.

On 10/3/07, Andreas Hocevar <andreas.hocevar at gmail.com> wrote:
> Alex, have you tried to get the latest version of the sandbox for the
> Tasmania test set? Because after the code sprint, calculating the
> correct style for a feature was done using eval().

This is probably the reason why you are getting poor performance. And
this is the reason why Tim and Chris urged me to get rid of it, which
I did.

So hopefully, things are a dramatically faster now than with the old
eval() code. As I said, the Firebug profiler now shows no performance
differences between the gml-renderer.html example and
gml-layer-sld.html when zooming in once from the initial view. But of
course, there are only three features to check.

The first revision using the new rule evaluation code is r4746.

Regards,
Andreas.



More information about the Dev mailing list