[OpenLayers-Dev] {} or new Object()
Erik Uzureau
erik.uzureau at metacarta.com
Wed Jul 25 23:14:16 EDT 2007
We have now officially changed to using {} and [].
Please see:
http://trac.openlayers.org/changeset/3815
http://trac.openlayers.org/changeset/3814
and
http://trac.openlayers.org/wiki/CodingStandards?action=diff&version=8
On 7/25/07, Gertjan van Oosten <gertjan at west.nl> wrote:
> As quoted from Christoph Baudson <christoph.baudson at wheregroup.com>:
> > The Mapbender project switched to using {} and [] this year; we save about
> > 1KB of bandwidth while Mapbender loads. It may not be much but it sure is
> > something.
>
> As a programmer I prefer new Object()/new Array().
> When trying for smaller load size, {}/[] are better.
> Is it possible to have the compressor change the one into the other?
>
> Cheers,
> --
> -- Gertjan van Oosten, gertjan at West.NL, West Consulting B.V., +31 15 2191 600
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
More information about the Dev
mailing list