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
Some context: This was discussed in our CfgMgmtCamp hackathon... The idea was that by using an iota to store the resource kind, we'd save a bunch of memory by not holding the "string" everywhere.
Description:
Currently, we have a lot of strings that denote meaning that are being passed around a lot.
We should replace those with a
Iota
s. This should give us a small performance boost.If they do need to be used as actual strings, we can implement a
toString
function for that: https://golangbyexample.com/iota-in-golang/The text was updated successfully, but these errors were encountered: