[Webkit-unassigned] [Bug 224726] Make container naming a bit more consistent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Apr 18 10:47:07 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=224726
--- Comment #11 from Sam Weinig <sam at webkit.org> ---
(In reply to Darin Adler from comment #5)
> I like "Compact" a lot, by the way.
>
> Not sure that "Buffer" to me says "non-resizable vector".
(In reply to Sam Weinig from comment #10)
> (In reply to Darin Adler from comment #3)
> > (In reply to Sam Weinig from comment #2)
> > > RefCountedArray -> CompactRefCountedBuffer
> > > FixedVector -> CompactBuffer
> >
> > Main thing that is lost here is the following:
> >
> > "He programmer, you are using a Vector, but you never need to resize it, so
> > you should instead use a FixedVector, which can be used the same way but is
> > always more memory efficient."
> >
> > I don’t think CompactBuffer works very well in that sentence, but I am not
> > sure. Maybe we another goal is to help people think of Vector -> FixedVector
> > in a way analogous to StringBuilder -> String.
>
> I like that argument. Perhaps then:
>
> RefCountedArray -> RefCountedFixedVector
> FixedVector -> FixedVector
Or rather,
RefCountedArray -> CompactRefCountedFixedVector
FixedVector -> CompactFixedVector
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210418/eac01cab/attachment.htm>
More information about the webkit-unassigned
mailing list