You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we can do lists by just using []interface{} but i believe this would require a good amount of reflection - is speed not as important for this or should we explore a different way to handle generic list?
Considering that it might need to respect mutability constraint the only way we could do that is with heavy reflection, which would harm performance by 10 times I think, which would kill the purpose of having fast reflection.
I'd go with the golang generics path, once available (should come by end of 2021 start of 2022).
As a follow-up to #8, let's explore a way to have generic map and list wrapper types rather than doing codegen for each of them.
The text was updated successfully, but these errors were encountered: