tikv/tikv

Align key memory location

开放

#3,486 创建于 2018年8月20日

 (1 条评论) (0 个反应) (0 位负责人)Rust (2,189 个派生)batch import
component/performancedifficulty/mediumhelp wanted

仓库指标

星标
 (15,922 个星标)
PR 合并指标
 (平均合并 28天 9小时) (30 天内合并 68 个 PR)

描述

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.

贡献者指南