Our great sponsors
-
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.
What does this mean? Say you have a sort algorithm that only promises to give you a la sorted array. If you implementation happens to be stable (maybe in only some cases when it's optimal, or maybe only now) it might be convenient to have the algorithm shuffle the array around before sorting for small enough inputs (or when testing) so users don't become dependent on sorting being stable when your never promised that. So this code goes out of the way to break assumptions. And whenever you see users making code that depends on the assumptions you do a "non breaking change" that breaks these users when the group is still small enough you can get away with it.