A micro-optimization of assign_key.
Some small optimizations to Array.at_pos.

Shave around 10% off array access.