Hacker News new | ask | show | jobs
by jschwartzi 4010 days ago
They even mark the difference to the degree that foo[1] is stored in a special "array part" of the table, while foo["1"] ends up in the hash part. Predictably, the array part uses less memory.