Displaying 2 results from an estimated 2 matches for "vectorimpl".
Did you mean:
_vector_impl
2020 Nov 17
0
RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
...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).
I like the idea of a minor rename, although a bit different:
- SmallVectorBase => VectorBase
- SmallVectorImpl => VectorImpl (we could keep both around for a transition period)
- (etc.)
- SmallVector => Vector, but give `Vector` a default small size of 0
- Add SmallVector as a wrapper around Vector that has a nice default for the small size:
```
template <class T>
using SmallVector = Vector<T...
2020 Nov 17
3
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