Open bokunodev opened 1 year ago
I'm interested in a PR if you have an idea.
I believe, I've a prototype somewhere, unfortunately I'm currently nowhere near my computer.
manually unrolling the loop in the template and change it to switch case.I remember, i'm too lazy to fix the golden test. but I did test it and it actually perform wort with string enums also there is a proposal for loop unrolling on Go github account. so I'm not sure if it's worth to change anything, right now.
we can optimize IsAXXX method to use switch statement instead of for loop. with this, we dont need
stringBelongsMethodSet