Code Caches: Investigate adding a sorted array mode if the BSTs are not dirty Currently the indexes are handled as BSTs, we could handle them as sorted array when they are not modified Follow up from #1842