• R
    avoid linear-time if/else special cases in sysconf · 233767b4
    Rich Felker 提交于
    the previous handling of cases that could not fit in the 16-bit table
    or which required non-constant results was extremely ugly and could
    not scale. the new code remaps these keys into a contiguous range
    that's efficient for a switch statement.
    233767b4
sysconf.c 7.1 KB