• Rémi Denis-Courmont's avatar
    Sort configuration items for faster lookup · 6d656add
    Rémi Denis-Courmont authored
    We have well over one thousand configuration items, not counting
    dummy hint entries. So now, sort all of them once (well, twice),
    and use binary instead of linear search for lookups.
    config_Get*, config_Put*, var_Create(with INHERIT flag),
    var_CreateGet* and var_Inherit* do such lookups.
    6d656add
core.c 16.9 KB