On Sun, Mar 14, 2021 at 5:03 PM Zhihong Yu <z...@yugabyte.com> wrote: > For 0001-Add-bsearch-and-unique-templates-to-sort_template.h.patch : > > + * Remove duplicates from an array. Return the new size. > + */ > +ST_SCOPE size_t > +ST_UNIQUE(ST_ELEMENT_TYPE *array, > > The array is supposed to be sorted, right ? > The comment should mention this.
Good point, will update. Thanks!