• Tom Lane's avatar
    Avoid unnecessary palloc overhead in _bt_first(). The temporary · d961a568
    Tom Lane authored
    scankeys arrays that it needs can never have more than INDEX_MAX_KEYS
    entries, so it's reasonable to just allocate them as fixed-size local
    arrays, and save the cost of palloc/pfree.  Not a huge savings, but
    a cycle saved is a cycle earned ...
    d961a568
nbtsearch.c 37.1 KB