better performance for cache-hits in ks.Mapping