-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Very interesting, your optimisation may make sense. I played around with the code on https://godbolt.org/ (I added the missing #include ).
I read a bunch of papers on stable in-place merges at the time and yeah you're right that there's normally a fairly significant hidden constant factor preventing them from being practical, but at least two of the papers did result in practical sorts – this one by Pok-Son Kim and Arne Kutzner which led to WikiSort, and another by Huang and Langston for GrailSort. They're competitive with C++'s stable_sort!