Renumber the features linearly, so that feature number N is at
position N in the array. This allows for O(1) look-ups, as opposed
to O(N) before. This makes sensors_lookup_feature_nr() 2.4 times
faster in my real-world tests, resulting in a 6% performance boost
on average in the runtime part of "sensors".
Powered by Trac 0.11.7
By Edgewall Software.
Visit the Trac open source project athttp://trac.edgewall.com/