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 would be great to have BuiltList to support a custom backing store for specialied lists, like the ones in dart:typed_data.
I'm thinking of passing a factory function to ListBuilder that creates the backing store before copying the values over. Something like typedef CreateListFunction<E> = List<E> Function();
The text was updated successfully, but these errors were encountered:
I'm wondering if we should go further and have a separate implementation / codepath for these, so that we can use the typed data in the builders, too. That will take some work because the typed lists are fixed length, but it seems like it should save a lot of memory--WDYT?
Yes, separate implementation looks like a good idea to me, dealing with fixed length arrays as a backing store will likely increase complexity quite a bit.
It would be great to have
BuiltList
to support a custom backing store for specialied lists, like the ones indart:typed_data
.I'm thinking of passing a factory function to
ListBuilder
that creates the backing store before copying the values over. Something like typedefCreateListFunction<E> = List<E> Function();
The text was updated successfully, but these errors were encountered: