[OpenLayers-Dev] createLiteral benchs

Tim Schaub tschaub at openplans.org
Fri Nov 9 14:30:16 EST 2007


Hey-

This sounds cool.  If you're doing what I think you're doing, perhaps 
this could be moved to the OpenLayers.String namespace.

The function could have a signature like:

/*{String}*/ OpenLayers.String.format(/*{String}*/ template, 
/*{Object}*/ context);

If that sounds right, see if http://trac.openlayers.org/ticket/1133 does 
what you want it to.

Tim

Andreas Hocevar wrote:
> Hi,
> 
> I added a new method to [1]. It is faster than andreas' method 2, and
> has the same scaling characteristics. I also changed
> OpenLayers.Style.createLiteral to use this new method.
> 
> Regards,
> Andreas.
> 
> [1] http://dev.openlayers.org/sandbox/ahocevar/sldRenderer/examples/profilingAttributeName.html
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 
> !DSPAM:4033,4732069d6402458217002!
> 




More information about the Dev mailing list