Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5036~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5036
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Feb 17, 2025

  1. Specialize intarray sorting

    There is at least one report in the field of storing millions of
    integers in arrays, so it seems like a good time to specialize
    intarray's qsort function. In doing so, streamline the comparators:
    Previously there were three, two for each direction for sorting
    and one passed to qunique_arg. To preserve the early exit in the
    case of descending input, pass the direction as an argument to
    the comparator. This requires giving up duplicate detection, which
    previously allowed skipping the unique-ifying step. Testing showed
    no regressions in always calling qunique().
    
    In passing, get rid of nearby checks that the input has at least
    two elements, since preserving them would make some macros less
    readable. These are not necessary for correctness, and seem like
    premature optimizations.
    
    Author: Andrey M. Borodin <x4mmm@yandex-team.ru>
    Discussion: https://postgr.es/m/098A3E67-E4A6-4086-9C66-B1EAEB1DFE1C@yandex-team.ru
    Andrey M. Borodin authored and Commitfest Bot committed Feb 17, 2025
    Configuration menu
    Copy the full SHA
    782ad9e View commit details
    Browse the repository at this point in the history
  2. [CF 52/5036] v11 - Sort functions with specialized comparators

    This commit was automatically generated by a robot at cfbot.cputube.org.
    It is based on patches submitted to the PostgreSQL mailing lists and
    registered in the PostgreSQL Commitfest application.
    
    This branch will be overwritten each time a new patch version is posted to
    the email thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Commitfest entry: https://commitfest.postgresql.org/52/5036
    Patch(es): https://www.postgresql.org/message-id/CANWCAZa_0uV5mshEDHxfojW1OZYCFe_f9ouJ+2oT9O_GEmgZTg@mail.gmail.com
    Author(s):
    Commitfest Bot committed Feb 17, 2025
    Configuration menu
    Copy the full SHA
    6a5f1c0 View commit details
    Browse the repository at this point in the history
Loading