I was thinking of radix sort - which is O(nk) where k is key size.

Search is, as you say, proportional to k or O(1).