tikv/tikv

Align key memory location

Open

#3,486 opened on 2018年8月20日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Rust (15,922 stars) (2,189 forks)batch import
component/performancedifficulty/mediumhelp wanted

説明

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.

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

Align key memory location · tikv/tikv#3486 | Good First Issue