Very cool! I'm curious when it says "did you know that accessing a random element in an array takes linear time", why that's the case, with bash?
replies(1):
see some basic benchmarks here https://gist.github.com/izabera/16a46ed79c2248349a1fb8384468...
there are also associative arrays which are bucketed hash tables, which are fine for string keys but imho they are hardly ever worth it as a replacement for indexed arrays