Replace ExecFetchSlotHeapTuple()+heap_copytuple() with ExecCopySlotHeapTuple()...
Replace ExecFetchSlotHeapTuple()+heap_copytuple() with ExecCopySlotHeapTuple() in CopyFrom() (#9261) This saves a memory copy of tuple length for each tuple handling. I did not see big improvement with 'copy from' perf testing with this change ( 1%+ avg. running time reduction of 20 runs with table lenth 1k+) but it is still helpful. Reviewed-by: Ashwin Agrawal
Showing
想要评论请 注册 或 登录