Enum with raw value of type T and one case with single associated value T

Yeah, I meant fixed-size as in "characters stored on the stack since, for enums, their lengths are known at compile time anyway"

If I understood you correctly, the problem isn't the dereferencing, but the unavoidable string comparisons. Again: D'oh! :man_facepalming:

1 Like