Re: Vectors instead of lists, specialised qsort(), binary_search(), unique()

2019-02-21 Thread Thomas Munro
On Thu, Feb 21, 2019 at 7:27 PM David Rowley wrote: > As for the ArrayList patch that I'd been working on, I was a bit > blocked on it due to Tom's comment in [1], after having quickly looked > over your patch I see there's no solution for that complaint. > > (I'd been trying to think of a

Re: Vectors instead of lists, specialised qsort(), binary_search(), unique()

2019-02-20 Thread David Rowley
On Thu, 21 Feb 2019 at 18:02, Thomas Munro wrote: > David Rowley posted some interesting stuff about an ArrayList[1] that > would replace List in many places. (I probably would have replied to > that thread if I hadn't changed email account, sorry.) I had similar > thoughts when I needed to

Vectors instead of lists, specialised qsort(), binary_search(), unique()

2019-02-20 Thread Thomas Munro
Hello hackers, David Rowley posted some interesting stuff about an ArrayList[1] that would replace List in many places. (I probably would have replied to that thread if I hadn't changed email account, sorry.) I had similar thoughts when I needed to maintain a sorted vector for my refactoring