Sean Silva via llvm-dev
2020-Nov-13 22:06 UTC
[llvm-dev] RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
We've pretty happy now with a patch that adds two wrappers around SmallVector that make it 1) more convenient to use and 2) will tend to mitigate misuse of SmallVector. We think it's ready for wider discussion: https://reviews.llvm.org/D90884 SVec<T> is a convenience alias for SmallVector<T, N> with N chosen automatically to keep its size under 64 Bytes (that heuristic is easy to change though). The recommendation in the patch is to use this "on the stack, where a "small" number of elements are expected". Vec<T> is a convenience alias for SmallVector<T, 0>. It lets us get the (little-known?) benefits of SmallVector even when it has no inline elements (see https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h). The recommendation in the patch is to use this when the SmallVector is on the heap. A lot of this is boiled out from the discussion in https://groups.google.com/g/llvm-dev/c/q1OyHZy8KVc/m/1l_AasOLBAAJ?pli=1 The goals here are twofold: 1. convenience: not having to read/write "N", or do an extra edit/recompile cycle if you forgot it 2. avoiding pathological cases: The choice of N is usually semi-arbitrary in our experience, and if one isn't careful, can result in sizeof(SmallVector) becoming huge, especially in the case of nested SmallVectors. This patch avoids pathological cases in two ways: A. SVec<T>'s heuristic keeps sizeof(SVec<T>) bounded, which prevents pathological size amplifications like in `SmallVector<struct {SmallVector<T, 4> a, b; }, 4>`, where the small sizes effectively multiply together. Of course, users can always write SmallVector<T, N> explicitly to bypass this, but the need for that seems rare. B. SmallVector<T, 0> feels "weird to write" for most folks, even though it is frequently the right choice. Vec<T> mitigates that by "looking natural". I'm surfacing this as an RFC to get feedback on a couple higher-level points: - does everybody agree that SVec<T> and Vec<T> are useful to have? - get wider consensus around suggesting these as "defaults" (see my updates to ProgrammersManual.rst in the patch) - how much we want to bulk migrate code vs let it organically grow. Replacing SmallVector<T, 0> with Vec<T> should be completely mechanical. Replacing SmallVector<T, N> for general N would be a lot more work. - of course: naming. SVector/Vector were floated in the patch as well and seem ok. SmallVec was rejected as it was a prefix of SmallVector (messes up autocomplete). Looking forward to a world with fewer guessed SmallVector sizes, -- Sean Silva -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201113/82706d43/attachment.html>
David Blaikie via llvm-dev
2020-Nov-16 20:55 UTC
[llvm-dev] RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
I will say I'm not a huge fan of adding even more names for things in this fairly core/common use case (now we'll have even more vector names to pick from) - can we use default template arguments so we can write SmallVector<T> instead of SmallVector<T, N> and would that address some of the use cases proposed here? I think someone (JYKnight, perhaps) mentioned in the code review (always difficult fragmenting the discussion between code review and RFC, unfortunately - not sure there's a great solution to that - some way to lock comments on a Phab review might be nice) that there are cases where you do want a small inline buffer even when you're nested inside another data structure and/or heap allocated (like tail allocations). Got any sense of the total value here? Major savings to be had? (if SmallVector<T> can do what your proposed SVec<T> does, that leaves the Vec<T> - could you expound on the benefits of SmallVector<T, 0> over std::vector<T>? I guess the SmallVectorImpl generic algorithm opportunities? Though that's rarely needed compared to ArrayRef.) If SmallVector<T> would suffice then maybe Vec<T> could be ZeroSmallVector<T>? Not sure. On Fri, Nov 13, 2020 at 2:06 PM Sean Silva via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > We've pretty happy now with a patch that adds two wrappers around SmallVector that make it 1) more convenient to use and 2) will tend to mitigate misuse of SmallVector. We think it's ready for wider discussion: https://reviews.llvm.org/D90884 > > SVec<T> is a convenience alias for SmallVector<T, N> with N chosen automatically to keep its size under 64 Bytes (that heuristic is easy to change though). The recommendation in the patch is to use this "on the stack, where a "small" number of elements are expected". > > Vec<T> is a convenience alias for SmallVector<T, 0>. It lets us get the (little-known?) benefits of SmallVector even when it has no inline elements (see https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h). The recommendation in the patch is to use this when the SmallVector is on the heap. > > A lot of this is boiled out from the discussion in https://groups.google.com/g/llvm-dev/c/q1OyHZy8KVc/m/1l_AasOLBAAJ?pli=1 > > The goals here are twofold: > > 1. convenience: not having to read/write "N", or do an extra edit/recompile cycle if you forgot it > > 2. avoiding pathological cases: The choice of N is usually semi-arbitrary in our experience, and if one isn't careful, can result in sizeof(SmallVector) becoming huge, especially in the case of nested SmallVectors. This patch avoids pathological cases in two ways: > A. SVec<T>'s heuristic keeps sizeof(SVec<T>) bounded, which prevents pathological size amplifications like in `SmallVector<struct {SmallVector<T, 4> a, b; }, 4>`, where the small sizes effectively multiply together. Of course, users can always write SmallVector<T, N> explicitly to bypass this, but the need for that seems rare. > B. SmallVector<T, 0> feels "weird to write" for most folks, even though it is frequently the right choice. Vec<T> mitigates that by "looking natural". > > I'm surfacing this as an RFC to get feedback on a couple higher-level points: > - does everybody agree that SVec<T> and Vec<T> are useful to have? > - get wider consensus around suggesting these as "defaults" (see my updates to ProgrammersManual.rst in the patch) > - how much we want to bulk migrate code vs let it organically grow. Replacing SmallVector<T, 0> with Vec<T> should be completely mechanical. Replacing SmallVector<T, N> for general N would be a lot more work. > - of course: naming. SVector/Vector were floated in the patch as well and seem ok. SmallVec was rejected as it was a prefix of SmallVector (messes up autocomplete). > > Looking forward to a world with fewer guessed SmallVector sizes, > > -- Sean Silva > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Mehdi AMINI via llvm-dev
2020-Nov-16 21:55 UTC
[llvm-dev] RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
On Mon, Nov 16, 2020 at 12:55 PM David Blaikie <dblaikie at gmail.com> wrote:> I will say I'm not a huge fan of adding even more names for things in > this fairly core/common use case (now we'll have even more vector > names to pick from) - can we use default template arguments so we can > write SmallVector<T> instead of SmallVector<T, N> and would that > address some of the use cases proposed here? >I won't claim it is perfect, but the added names are a compromise over rounds of reviews with the folks in the revision. In particular I'm quite concerned that a default value for N on the SmallVector does not carry the intent the same way, and is too easy to miss in review (or while reading code). To me the drawbacks are outweighing the benefits too much. Also, `SmallVector<LargeType>` would end-up with N==0 implicitly, without an easy way to figure it out that there is no actual inline storage while reading the code. An alternative was to reserve the default to only "small object" so that N isn't zero, but there isn't a platform independent way of doing that and keep the code portable I believe. So `SVec<T>` is really saying: "I am willing to pay for some limite inline storage if possible but I don't have a N in mind". Finally the simple `llvm::Vector` case to replace `SmallVector<T, 0>` is because it is frequently preferable to `std::vector` but still isn't readable or immediately intuitive and so is rarely used in practice (see https://www.llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h for the documented points on N=0). I think someone (JYKnight, perhaps) mentioned in the code review> (always difficult fragmenting the discussion between code review and > RFC, unfortunately - not sure there's a great solution to that - some > way to lock comments on a Phab review might be nice) that there are > cases where you do want a small inline buffer even when you're nested > inside another data structure and/or heap allocated (like tail > allocations). >Yes: I think it is misleading to formulate anything about heap, I see a SmallVector inside a heap allocated object is akin to a trailing allocation optimization.> Got any sense of the total value here? Major savings to be had? > > (if SmallVector<T> can do what your proposed SVec<T> does, that leaves > the Vec<T> - could you expound on the benefits of SmallVector<T, 0> > over std::vector<T>? I guess the SmallVectorImpl generic algorithm > opportunities? Though that's rarely needed compared to ArrayRef.) > If SmallVector<T> would suffice then maybe Vec<T> could be > ZeroSmallVector<T>? Not sure. >ZeroSmallVector<T> does not really address your "more vector names to pick from" concerns, and it is longer than `SmallVector<T, 0>`: shouldn't we aim for the "default case" to be the easiest to reach / most intuitive to pick? `llvm::Vec` looks like "just a vector". Cheers, -- Mehdi> > On Fri, Nov 13, 2020 at 2:06 PM Sean Silva via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > > > We've pretty happy now with a patch that adds two wrappers around > SmallVector that make it 1) more convenient to use and 2) will tend to > mitigate misuse of SmallVector. We think it's ready for wider discussion: > https://reviews.llvm.org/D90884 > > > > SVec<T> is a convenience alias for SmallVector<T, N> with N chosen > automatically to keep its size under 64 Bytes (that heuristic is easy to > change though). The recommendation in the patch is to use this "on the > stack, where a "small" number of elements are expected". > > > > Vec<T> is a convenience alias for SmallVector<T, 0>. It lets us get the > (little-known?) benefits of SmallVector even when it has no inline elements > (see https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h). > The recommendation in the patch is to use this when the SmallVector is on > the heap. > > > > A lot of this is boiled out from the discussion in > https://groups.google.com/g/llvm-dev/c/q1OyHZy8KVc/m/1l_AasOLBAAJ?pli=1 > > > > The goals here are twofold: > > > > 1. convenience: not having to read/write "N", or do an extra > edit/recompile cycle if you forgot it > > > > 2. avoiding pathological cases: The choice of N is usually > semi-arbitrary in our experience, and if one isn't careful, can result in > sizeof(SmallVector) becoming huge, especially in the case of nested > SmallVectors. This patch avoids pathological cases in two ways: > > A. SVec<T>'s heuristic keeps sizeof(SVec<T>) bounded, which prevents > pathological size amplifications like in `SmallVector<struct > {SmallVector<T, 4> a, b; }, 4>`, where the small sizes effectively multiply > together. Of course, users can always write SmallVector<T, N> explicitly to > bypass this, but the need for that seems rare. > > B. SmallVector<T, 0> feels "weird to write" for most folks, even > though it is frequently the right choice. Vec<T> mitigates that by "looking > natural". > > > > I'm surfacing this as an RFC to get feedback on a couple higher-level > points: > > - does everybody agree that SVec<T> and Vec<T> are useful to have? > > - get wider consensus around suggesting these as "defaults" (see my > updates to ProgrammersManual.rst in the patch) > > - how much we want to bulk migrate code vs let it organically grow. > Replacing SmallVector<T, 0> with Vec<T> should be completely mechanical. > Replacing SmallVector<T, N> for general N would be a lot more work. > > - of course: naming. SVector/Vector were floated in the patch as well > and seem ok. SmallVec was rejected as it was a prefix of SmallVector > (messes up autocomplete). > > > > Looking forward to a world with fewer guessed SmallVector sizes, > > > > -- Sean Silva > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201116/bdc38d10/attachment.html>
Chris Tetreault via llvm-dev
2020-Nov-17 00:38 UTC
[llvm-dev] RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
I appreciate the work you’ve done on this. My impression is that the thought process that goes into picking the size parameter is something like “Uhh… Uhh… I guess 4 is good?”, so doing work to formalize this is good. I also think that people are likely reluctant to use `SmallVector<T, 0>`. That said, I don’t think adding new types is useful. I think `SmallVector` should just get a default size that is computed as `SVec`’s default size parameter is. Honestly, I’m unconcerned that anybody would “forget” to populate the size parameter. I really feel like any value that isn’t backed by hard data is unlikely to be better than the result of ` calculateSVecInlineElements<T>()`, and should be questioned in code review given the new heuristic you’ve added. In short, I think that `SmallVector` should get a default size, and that the documentation should become something to the effect of “SmallVector should be preferred to std::vector unless you have a good reason to use the stl container. (api interop?). The default size for SmallVector has been chosen to be reasonable for most use cases. If you have evidence that shows the default is not optimal for your use case you can populate it with a more suitable value.” Again, thanks for working on this. I’m looking forward to the day when I don’t have to pick a number out of my backside to put in that parameter. Thanks, Christopher Tetreault From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of Sean Silva via llvm-dev Sent: Friday, November 13, 2020 2:06 PM To: llvm-dev <llvm-dev at lists.llvm.org>; Duncan P. N. Exon Smith <dexonsmith at apple.com>; Mehdi AMINI <joker.eph at gmail.com>; Reid Kleckner <rnk at google.com> Subject: [EXT] [llvm-dev] RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers. We've pretty happy now with a patch that adds two wrappers around SmallVector that make it 1) more convenient to use and 2) will tend to mitigate misuse of SmallVector. We think it's ready for wider discussion: https://reviews.llvm.org/D90884 SVec<T> is a convenience alias for SmallVector<T, N> with N chosen automatically to keep its size under 64 Bytes (that heuristic is easy to change though). The recommendation in the patch is to use this "on the stack, where a "small" number of elements are expected". Vec<T> is a convenience alias for SmallVector<T, 0>. It lets us get the (little-known?) benefits of SmallVector even when it has no inline elements (see https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h). The recommendation in the patch is to use this when the SmallVector is on the heap. A lot of this is boiled out from the discussion in https://groups.google.com/g/llvm-dev/c/q1OyHZy8KVc/m/1l_AasOLBAAJ?pli=1 The goals here are twofold: 1. convenience: not having to read/write "N", or do an extra edit/recompile cycle if you forgot it 2. avoiding pathological cases: The choice of N is usually semi-arbitrary in our experience, and if one isn't careful, can result in sizeof(SmallVector) becoming huge, especially in the case of nested SmallVectors. This patch avoids pathological cases in two ways: A. SVec<T>'s heuristic keeps sizeof(SVec<T>) bounded, which prevents pathological size amplifications like in `SmallVector<struct {SmallVector<T, 4> a, b; }, 4>`, where the small sizes effectively multiply together. Of course, users can always write SmallVector<T, N> explicitly to bypass this, but the need for that seems rare. B. SmallVector<T, 0> feels "weird to write" for most folks, even though it is frequently the right choice. Vec<T> mitigates that by "looking natural". I'm surfacing this as an RFC to get feedback on a couple higher-level points: - does everybody agree that SVec<T> and Vec<T> are useful to have? - get wider consensus around suggesting these as "defaults" (see my updates to ProgrammersManual.rst in the patch) - how much we want to bulk migrate code vs let it organically grow. Replacing SmallVector<T, 0> with Vec<T> should be completely mechanical. Replacing SmallVector<T, N> for general N would be a lot more work. - of course: naming. SVector/Vector were floated in the patch as well and seem ok. SmallVec was rejected as it was a prefix of SmallVector (messes up autocomplete). Looking forward to a world with fewer guessed SmallVector sizes, -- Sean Silva -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201117/e2b10916/attachment.html>
Chris Lattner via llvm-dev
2020-Nov-17 15:26 UTC
[llvm-dev] RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
On Nov 13, 2020, at 2:06 PM, Sean Silva via llvm-dev <llvm-dev at lists.llvm.org> wrote:> We've pretty happy now with a patch that adds two wrappers around SmallVector that make it 1) more convenient to use and 2) will tend to mitigate misuse of SmallVector. We think it's ready for wider discussion: https://reviews.llvm.org/D90884 <https://reviews.llvm.org/D90884> > > SVec<T> is a convenience alias for SmallVector<T, N> with N chosen automatically to keep its size under 64 Bytes (that heuristic is easy to change though). The recommendation in the patch is to use this "on the stack, where a "small" number of elements are expected".Hey Sean, I agree with other comments that his approach unnecessarily fragments the API surface area for a core class. You’re doing two things here: 1) adding a new name for an existing thing, and 2) adding a default. My major concern and objection is about #1, since the codebase will get to be a mishmash of the two. I’d rather keep the world consistent here and have an opinionated “one way to do it”. Thoughts/suggestions: - Adding the default seems very reasonable to me, and I think that 64 bytes is a good default. I think you should change the behavior so that SmallVector<LargeThing> defaults to a single inline element instead of zero though. Perhaps generate a static_assert when it is crazy large. - The name SmallVector has always been confusing, InlinedVector is more principled, but is even more verbose for such a common type. If you think it is worth shrinkifying the name SmallVector, then I think the best thing to do is *rename* SmallVector (perhaps to IVector?) everywhere in the codebase. I don’t think that introducing a redundant name is a good thing (except to smooth the transition). - If people are concerned about the default being bad, then you could choose to make “SmallVector<T, -1>” be the thing that autosizes. I tend to agree with your viewpoint that the N chosen is arbitrary in almost all cases anyway though, so I wouldn’t go this way.> > Vec<T> is a convenience alias for SmallVector<T, 0>. It lets us get the (little-known?) benefits of SmallVector even when it has no inline elements (see https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h <https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h>). The recommendation in the patch is to use this when the SmallVector is on the heap.These benefits are tiny, I really don’t think it is worth introducing a new name for this. I think this is better handled with a change to CodingStandards (saying “don’t use std::vector”) and the programmers manual. -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201117/1f71380a/attachment.html>
Sean Silva via llvm-dev
2020-Nov-17 21:40 UTC
[llvm-dev] RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
On Tue, Nov 17, 2020 at 7:26 AM Chris Lattner <clattner at nondot.org> wrote:> On Nov 13, 2020, at 2:06 PM, Sean Silva via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > We've pretty happy now with a patch that adds two wrappers around > SmallVector that make it 1) more convenient to use and 2) will tend to > mitigate misuse of SmallVector. We think it's ready for wider discussion: > https://reviews.llvm.org/D90884 > > SVec<T> is a convenience alias for SmallVector<T, N> with N chosen > automatically to keep its size under 64 Bytes (that heuristic is easy to > change though). The recommendation in the patch is to use this "on the > stack, where a "small" number of elements are expected". > > > Hey Sean, > > I agree with other comments that his approach unnecessarily fragments the > API surface area for a core class. You’re doing two things here: 1) adding > a new name for an existing thing, and 2) adding a default. > > My major concern and objection is about #1, since the codebase will get to > be a mishmash of the two. I’d rather keep the world consistent here and > have an opinionated “one way to do it”. >Thanks Chris. That was my original proposal when I first drafted the patch, and I'm happy to just add the default.> > Thoughts/suggestions: > - Adding the default seems very reasonable to me, and I think that 64 > bytes is a good default. I think you should change the behavior so that > SmallVector<LargeThing> defaults to a single inline element instead of zero > though. Perhaps generate a static_assert when it is crazy large. >That would work for me. Mehdi, would SmallVector<T>, defaulting to a minimum single inline element with static_assert(sizeof(T) < 512) address your concerns? -- Sean Silva> > - The name SmallVector has always been confusing, InlinedVector is more > principled, but is even more verbose for such a common type. If you think > it is worth shrinkifying the name SmallVector, then I think the best thing > to do is *rename* SmallVector (perhaps to IVector?) everywhere in the > codebase. I don’t think that introducing a redundant name is a good thing > (except to smooth the transition). > > - If people are concerned about the default being bad, then you could > choose to make “SmallVector<T, -1>” be the thing that autosizes. I tend to > agree with your viewpoint that the N chosen is arbitrary in almost all > cases anyway though, so I wouldn’t go this way. > > > Vec<T> is a convenience alias for SmallVector<T, 0>. It lets us get the > (little-known?) benefits of SmallVector even when it has no inline elements > (see https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h). > The recommendation in the patch is to use this when the SmallVector is on > the heap. > > > These benefits are tiny, I really don’t think it is worth introducing a > new name for this. I think this is better handled with a change to > CodingStandards (saying “don’t use std::vector”) and the programmers manual. > > -Chris > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201117/1cc7351a/attachment.html>
David Blaikie via llvm-dev
2020-Nov-17 21:42 UTC
[llvm-dev] RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
On Tue, Nov 17, 2020 at 7:26 AM Chris Lattner via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > On Nov 13, 2020, at 2:06 PM, Sean Silva via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > We've pretty happy now with a patch that adds two wrappers around SmallVector that make it 1) more convenient to use and 2) will tend to mitigate misuse of SmallVector. We think it's ready for wider discussion: https://reviews.llvm.org/D90884 > > SVec<T> is a convenience alias for SmallVector<T, N> with N chosen automatically to keep its size under 64 Bytes (that heuristic is easy to change though). The recommendation in the patch is to use this "on the stack, where a "small" number of elements are expected". > > > Hey Sean, > > I agree with other comments that his approach unnecessarily fragments the API surface area for a core class. You’re doing two things here: 1) adding a new name for an existing thing, and 2) adding a default. > > My major concern and objection is about #1, since the codebase will get to be a mishmash of the two. I’d rather keep the world consistent here and have an opinionated “one way to do it”. > > Thoughts/suggestions: > - Adding the default seems very reasonable to me, and I think that 64 bytes is a good default. I think you should change the behavior so that SmallVector<LargeThing> defaults to a single inline element instead of zero though. Perhaps generate a static_assert when it is crazy large.Out of curiosity: Why a single rather than zero?> - The name SmallVector has always been confusing, InlinedVector is more principled, but is even more verbose for such a common type. If you think it is worth shrinkifying the name SmallVector, then I think the best thing to do is *rename* SmallVector (perhaps to IVector?) everywhere in the codebase. I don’t think that introducing a redundant name is a good thing (except to smooth the transition). > > - If people are concerned about the default being bad, then you could choose to make “SmallVector<T, -1>” be the thing that autosizes. I tend to agree with your viewpoint that the N chosen is arbitrary in almost all cases anyway though, so I wouldn’t go this way. > > > Vec<T> is a convenience alias for SmallVector<T, 0>. It lets us get the (little-known?) benefits of SmallVector even when it has no inline elements (see https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h). The recommendation in the patch is to use this when the SmallVector is on the heap. > > > These benefits are tiny, I really don’t think it is worth introducing a new name for this. I think this is better handled with a change to CodingStandards (saying “don’t use std::vector”) and the programmers manual. > > -Chris > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Reasonably Related Threads
- RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
- RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
- RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
- RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
- RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.