Hi, this seems like it might be a bit of a FAQ or common pattern, for those working in C (e.g. implementing native types).
In C, I can easily get a string and do a few if statements with strcmp to decide how to handle it. If the methods were called infrequently, I might not be concerned.
What I'm wondering is, if there is a way to avoid the strcmp logic by directly comparing some interned strings, or something like that.