Make arrays with less than 256 entries always dense (479386, r=brendan).

This commit is contained in:
Andreas Gal 2009-02-25 14:48:07 -08:00
parent c864be7509
commit 78ba6b4a54

View File

@ -100,7 +100,7 @@
#define MAXSTR "4294967295"
/* Small arrays are dense, no matter what. */
#define MIN_SPARSE_INDEX 32
#define MIN_SPARSE_INDEX 256
#define INDEX_TOO_BIG(index) ((index) > JS_BIT(29) - 1)
#define INDEX_TOO_SPARSE(array, index) \