Avoid overhead of extracting first key column in Sorted Motion Receiver.
Extract the first key column's Datum only once, to avoid the memtuple_getattr / heap_getattr overhead. This is the same optimization we have in tuplesort.c. Reviewed-by: NPengzhou Tang <ptang@pivotal.io> Reviewed-by: NGang Xiong <gxiong@pivotal.io>
Showing
想要评论请 注册 或 登录