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
I have read the roadmap and priorities and I believe this request falls within the priorities.
What is your request?
The InlineList struct has been added to the stdlib recently: #2587 .
We would like to have more methods available in InlineList, and those methods should mirror the ones available in List.
We would like to avoid code duplication as much as possible, so, when adding new methods, please try to group the code together when it's relevant to do so.
What is your motivation for this change?
We'll use InlineList for SSO, so we'll likely need more methods, like resize, __getitem__(slice), pop, etc... There is no need to have multiple APIs for different sorts of list, so let's copy the API of the list. It will allow InlineList to be a somewhat drop-in replacement for List when the capacity is known at compile time (and small enough).
Any other details?
This is the kind of task where it makes sense to do one pull request per method added, and is very beginner friendly. If you're looking for an issue to do your first PR in Mojo, this one is pretty easy :)
The text was updated successfully, but these errors were encountered:
Review Mojo's priorities
What is your request?
The
InlineList
struct has been added to the stdlib recently: #2587 .We would like to have more methods available in
InlineList
, and those methods should mirror the ones available inList
.We would like to avoid code duplication as much as possible, so, when adding new methods, please try to group the code together when it's relevant to do so.
What is your motivation for this change?
We'll use
InlineList
for SSO, so we'll likely need more methods, likeresize
,__getitem__(slice)
,pop
, etc... There is no need to have multiple APIs for different sorts of list, so let's copy the API of the list. It will allowInlineList
to be a somewhat drop-in replacement forList
when the capacity is known at compile time (and small enough).Any other details?
This is the kind of task where it makes sense to do one pull request per method added, and is very beginner friendly. If you're looking for an issue to do your first PR in Mojo, this one is pretty easy :)
The text was updated successfully, but these errors were encountered: