What is better: a lookup table or an enum type?