pingcap/tidb

Use a new struct to store the props generated by `preparePossibleProperties`

Open

#10,749 opened on Jun 10, 2019

View on GitHub
 (0 comments) (1 reaction) (2 assignees)Go (6,186 forks)batch import
help wantedsig/plannertype/performance

Repository metrics

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

Description

after https://github.com/pingcap/tidb/pull/10548 There'll be multiple props which share the same suffix. We can implement a struct which can store the eqPrefixLen to cut off the possible props then reduce the search space.

Contributor guide