I'd like to see the methodology behind those results. Seems to me that declaring an object is going to necessarily be faster than a series of comparisons (although not by much, I suppose, as the compiler can optimize static comparisions into a hash table in the same way it might optimize an object literal).