better memory index performance