<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1136000476179272289.post8433690498047972649..comments</id><updated>2007-08-13T13:18:06.620-05:00</updated><category term='ruby'/><category term='Crapcasts'/><category term='iPhone development'/><category term='javascript'/><category term='Apple'/><category term='&quot;how to succeed&quot;'/><category term='coding humor'/><category term='development'/><category term='coding'/><category term='adobe air'/><title type='text'>Comments on The Big Dumb Developer: Don't use "new Array()"</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.bigdumbdev.com/feeds/8433690498047972649/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136000476179272289/8433690498047972649/comments/default'/><link rel='alternate' type='text/html' href='http://www.bigdumbdev.com/2007/08/dont-use-new-array.html'/><author><name>Steve</name><uri>http://www.blogger.com/profile/06785696784407684055</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1136000476179272289.post-6625401489390592321</id><published>2007-08-13T13:18:00.000-05:00</published><updated>2007-08-13T13:18:00.000-05:00</updated><title type='text'>Not to mention that literals are always faster tha...</title><content type='html'>Not to mention that literals are always faster than object constructors.&lt;BR/&gt;&lt;BR/&gt;Observe (blame Blogger's lack of proper tag allowance for the ugly code):&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;.ie measure(null, [], 10000, function() { var x = new Array(); x[1] = 0; }, function() { var x = []; x[1] = 0; });&lt;BR/&gt;IE7: func 1: [T:701ms], func 2: [T:421ms]&lt;BR/&gt;&lt;BR/&gt;.ff measure(null, [], 10000, function() { var x = new Array(); x[1] = 0; }, function() { var x = []; x[1] = 0; });&lt;BR/&gt;FF2: func 1: [T:1011ms], func 2: [T:731ms]</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136000476179272289/8433690498047972649/comments/default/6625401489390592321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136000476179272289/8433690498047972649/comments/default/6625401489390592321'/><link rel='alternate' type='text/html' href='http://www.bigdumbdev.com/2007/08/dont-use-new-array.html?showComment=1187029080000#c6625401489390592321' title=''/><author><name>Brad Fults</name><uri>http://www.blogger.com/profile/17926298157337200847</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://h3h.net/images/h3h10.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.bigdumbdev.com/2007/08/dont-use-new-array.html' ref='tag:blogger.com,1999:blog-1136000476179272289.post-8433690498047972649' source='http://www.blogger.com/feeds/1136000476179272289/posts/default/8433690498047972649' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1677657544'/></entry></feed>
