boolinq
boolinq copied to clipboard
Performance
Turned out to be extremely slow. toStdVector() takes 25 microseconds for an empty vector! Not even talking about reserve() and move(), but the end of iteration is implemented with try catch. It's not how it's supposed to be.
Latest version of the lib has business logic built on top of try-catch behavior. I don’t really like it anymore, but the code was kinda expressive and compact with this approach.
Reserving is also not possible without extra arguments since those ranges work on top of forward iterators without multi-specialization, which could be a key to more agile implementation.