Open JoeLoser opened 1 month ago
Isn't InlinedFixedVector
deprecated? I know the behavior is slightly different from small buffer optimization, at least the one I implemented, but I'm not sure this behavior will be needed a lot once https://github.com/modularml/mojo/pull/2825 lands.
Isn't
InlinedFixedVector
deprecated? I know the behavior is slightly different from small buffer optimization, at least the one I implemented, but I'm not sure this behavior will be needed a lot once #2825 lands.
Yeah, but it's unclear how long it will be before we can land SBO, that's all.
Fair enough!
As mentioned at https://github.com/modularml/mojo/pull/3445#issuecomment-2338791234, we can make
InlineFixedVector
work on memory-only types such asCollectionElement
. In the latest nightly tonight,InlineArray
andSpan
have been relaxed to work onCollectionElement
instead ofCollectionElementNew
, which should unblock this work.