[OpenLayers-Dev] {} or new Object()

Gertjan van Oosten gertjan at West.NL
Wed Jul 25 09:54:19 EDT 2007


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



More information about the Dev mailing list