[OpenLayers-Dev] [OpenLayers 3] type instantiation performance

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Sun Oct 17 07:23:34 EDT 2010


On Oct 17, 2010, at 4:25 AM, ext Peter Robins wrote:

> On 16 October 2010 13:37, Eric Lemoine <eric.lemoine at camptocamp.com> wrote:
>> So should we consider changing the way we create types in OpenLayers?
> 
> could you clarify what you mean by 'types' here? When I first read
> your post, I was thinking you were thinking only of changing this in
> drag/pan actions, but reading it again it looks like you're proposing
> getting rid of OpenLayers.Class completely. (I'm not saying that's a
> bad idea, but it would be a major change!)

I don't think it would really be that major. OpenLayers.Class provides
some nice syntactic sugar, but creating an OpenLayers.Class object 
doesn't actually gain us much overall, so long as we have something
that does some of the subclassing for us.

-- Chris

> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev



More information about the Dev mailing list