diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-30 22:12:56 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-31 14:35:17 -0400 |
commit | 3c8bed4ee061f96acb4d70a591a9849bddd2a659 (patch) | |
tree | 9be6b06310d2e8837dfe928487e5a47aee4fde03 /src/nss-myhostname | |
parent | a9c307e5d2157c561eae7fc76303cadf7a77b99e (diff) |
strbuf: replace quick sort with bubble sort
No need to call the heavy artillery, when the original array
is sorted. Reduces complexity from n² log n to n log n, where
n is the number of items in the array, not very large, but
still.
Diffstat (limited to 'src/nss-myhostname')
0 files changed, 0 insertions, 0 deletions