[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] grub-mkconfig linux: Fix quadratic algorithm for sorting men
From: |
Mihai Moldovan |
Subject: |
Re: [PATCH] grub-mkconfig linux: Fix quadratic algorithm for sorting menu items |
Date: |
Wed, 4 May 2022 05:54:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
* On 5/4/22 2:54 AM, Oskari Pirhonen wrote:
> The existing `version_sort()` function in grub-mkconfig_lib.in uses the
> same logic for detecting the existence of `sort -V` with a fallback to
> `sort -n`. I don't think it adds any new hidden dependencies.
Right, there are fallbacks in both places for sort versions not supporting the
version sort extension, so that's probably fine then. Nevermind.
Mihai
OpenPGP_signature
Description: OpenPGP digital signature