summaryrefslogtreecommitdiff
path: root/src/vconsole/vconsole-setup.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-30 22:12:56 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-31 14:35:17 -0400
commit3c8bed4ee061f96acb4d70a591a9849bddd2a659 (patch)
tree9be6b06310d2e8837dfe928487e5a47aee4fde03 /src/vconsole/vconsole-setup.c
parenta9c307e5d2157c561eae7fc76303cadf7a77b99e (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/vconsole/vconsole-setup.c')
0 files changed, 0 insertions, 0 deletions