pingcap/tidb

remove the XXXSorter to improve sort performance

Open

#36,058 opened on Jul 8, 2022

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Go (6,186 forks)batch import
good first issuetype/enhancement

Repository metrics

Stars
 (40,090 stars)
PR merge metrics
 (Avg merge 14d 4h) (346 merged PRs in 30d)

Description

Enhancement

We have many place to use the exp/slices to sort our struct. It can improve performance by using pdqsort and clean branch check. But We have many placement using the old sort. Please remove it. Here is the example .

BTW, You haven't to change the bazel.build. it can be updated by robot.

  • #36061
  • #36062
  • #36063
  • #36064

Contributor guide