[half.d] Replace enum tables by static immutable tables, which I believe were recommended somewhere over enum.