tikv/tikv

Align key memory location

オープン

#3,486 opened on 2018/08/20

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (2,189 件のフォーク)batch import
component/performancedifficulty/mediumhelp wanted

Repository metrics

Stars
 (15,922 個のスター)
PR merge metrics
 (平均マージ 28d 9h) (30d で 68 merged PRs)

説明

Feature Request

After encoding, our keys are 9*N in length (or 9*N+8 if it has timestamp suffix).

when comparing key equality, or decoding key timestamp, we access its last 8*N part, which is not memory aligned in most cases. Make keys ends with a memory aligned location could improve performance.

コントリビューターガイド