I just landed a new container type called mozilla::SegmentedVector in MFBT. It’s similar to nsTArray and mozilla::Vector, but the the element storage is broken into segments rather than being contiguous. This makes it less flexible than those types — currently you can only append elements and iterate over all elements. Hoever, in cases where those … Continue reading mfbt/SegmentedVector.h
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed