2 ms·
Note that this applies more for python than efficient languages. In python, objects are big, and require an indirection. In faster languages, many objects can b
by adgjlsfhk1 4y ago
Note that this applies more for python than efficient languages. In python, objects are big, and require an indirection. In faster languages, many objects can be smaller than a pointer and stored inline. As such, dictionaries that have vectorized lookups generally can be made faster.