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
It's nice to have Length function for collection types (set, list, map, etc.), so we won't have to do len(list.Elements()) which is wasting time to allocate and release memory because Elements() make a new slice internally.
If you are willing to add this feature, I can try to put up a PR to implement it. Let me know.
The text was updated successfully, but these errors were encountered:
It's nice to have Length function for collection types (set, list, map, etc.), so we won't have to do
len(list.Elements())
which is wasting time to allocate and release memory becauseElements()
make a new slice internally.If you are willing to add this feature, I can try to put up a PR to implement it. Let me know.
The text was updated successfully, but these errors were encountered: