Special-case dense enum lookup