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
The current impl of vector wrappers are not efficient, getting the elements inside them will perform a deep copy, however, return a reference is much better.
So I am going to refactor the wrappers of vectors to use structs:
In this way, we can get it's length without allocating memories comparing to the current impl, which will be more efficient and convenient to interact with the List (or Iterable) of dart.
The text was updated successfully, but these errors were encountered:
The current impl of vector wrappers are not efficient, getting the elements inside them will perform a deep copy, however, return a reference is much better.
So I am going to refactor the wrappers of vectors to use structs:
In this way, we can get it's length without allocating memories comparing to the current impl, which will be more efficient and convenient to interact with the
List
(orIterable
) of dart.The text was updated successfully, but these errors were encountered: