已合并
bugfix: eliminate redundant operations in sort. #5130
bugfix: eliminate redundant operations in sort. #5130
已合并
yvjc创建于 6月8日
yvjc
6月8日

【合入来源】

如有社区issue,请关联issue链接
请勿携带内部流程信息(需求链接、问题单、内部issue等)

【修改方案】

请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列
如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容)

消除sort中的冗余操作, 减少内存占用.

【资料变更】

请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及”

不涉及

【接口变更】

请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及”

不涉及

【功能验证】

说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤
新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图

sort操作的内存占用和标杆对齐, 内存差异在5%以内.

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 yvjc 的贡献)
Yyvjc
6月8日 创建了 pull request,commit 27e78a62
ascend-robotascend-robot成员
6月8日 添加了label:ascend-cla/yes
ascend-robot
ascend-robot成员
6月8日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here
You can get sig-info at here


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-Ascend/op-plugin adrian07110, daifu1234567 (2/2) adrian07110 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

yvjc, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
ascend-robot
ascend-robot成员
6月8日 评论:

Ascend docs pipeline is running...

likedislike
ascend-robotascend-robot成员
6月8日 添加了label:docs-ci-pipeline-running
ascend-robot
ascend-robot成员
6月8日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
6月8日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
6月8日 添加了label:docs-ci-pipeline-success
yvjc
6月8日 评论:

compile

likedislike
ascend-robotascend-robot成员
6月8日 添加了label:ci-pipeline-running
ascend-robot
ascend-robot成员
6月8日 评论:

Ascend docs pipeline is running...

likedislike
ascend-robotascend-robot成员
6月8日 删除了label:docs-ci-pipeline-success
ascend-robotascend-robot成员
6月8日 添加了label:docs-ci-pipeline-running
ascend-robot
ascend-robot成员
6月8日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
6月8日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
6月8日 添加了label:docs-ci-pipeline-success
ascend-robotascend-robot成员
6月8日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
6月8日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
6月8日 评论:
流水线 PR-pipeline_op-plugin#1772 [ commitID:040c9bea ] 已完成
>>>代码风格自动修复执行成功(无修复内容)
阶段 任务名 状态 详情
编译构建 Build_master_ARM >>>
Build_v2_7_1_ARM >>>
Build_v2_9_0_ARM >>>
Build_v2_10_0_ARM >>>
Build_v2_11_0_ARM >>>
Build_v2_12_0_ARM >>>
Build_master_x86 >>>
Build_v2_7_1_x86 >>>
Build_v2_9_0_x86 >>>
Build_v2_10_0_x86 >>>
Build_v2_11_0_x86 >>>
Build_v2_12_0_x86 >>>
恶意代码检查 Antipoison >>>
编码安全与规范检查 CodeCheck >>>
CodeCheck_pre-commit >>>
开源片段检查 SCA >>>
开发者测试 UT_master_ARM >>>
UT_v2_7_1_ARM >>>
UT_v2_9_0_ARM >>>
UT_v2_10_0_ARM >>>
UT_v2_11_0_ARM >>>
UT_v2_12_0_ARM >>>
流水线 PR-pipeline_op-plugin >>>
此流水线已支持下列评论快捷指令,仅PR创建者评论有效
  • compile : 运行流水线
  • retry : 重试流水线所有失败子任务
  • retry <任务名> : 仅重试指定失败子任务
  • stop : 停止流水线
likedislike
daifu1234567成员
6月11日 评论:

/lgtm

likedislike
ZhihaoLi
ZhihaoLi成员
6月12日 评论:

/approve

likedislike
ascend-robotascend-robot成员
6月12日 添加了label:approvedlgtm
ascend-robotascend-robot成员
6月12日 删除了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
6月12日 评论:

The following label is not ready.

ci-pipeline-passed: The ci-pipeline-passed label is expired. Please compile again.

likedislike
yvjc
6月12日 评论:

compile

likedislike
ascend-robotascend-robot成员
6月12日 添加了label:ci-pipeline-running
ascend-robot
ascend-robot成员
6月12日 评论:

Ascend docs pipeline is running...

likedislike
ascend-robotascend-robot成员
6月12日 删除了label:docs-ci-pipeline-success
ascend-robotascend-robot成员
6月12日 添加了label:docs-ci-pipeline-running
ascend-robot
ascend-robot成员
6月12日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
6月12日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
6月12日 添加了label:docs-ci-pipeline-success
zichun_ye
zichun_ye成员
6月12日 评论:

/approve

likedislike
ascend-robotascend-robot成员
6月12日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
6月12日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
6月12日 评论:
流水线 PR-pipeline_op-plugin#1868 [ commitID:040c9bea ] 已完成
>>>代码风格自动修复执行成功(无修复内容)
阶段 任务名 状态 详情
编译构建 Build_master_ARM >>>
Build_v2_7_1_ARM >>>
Build_v2_9_0_ARM >>>
Build_v2_10_0_ARM >>>
Build_v2_11_0_ARM >>>
Build_v2_12_0_ARM >>>
Build_master_x86 >>>
Build_v2_7_1_x86 >>>
Build_v2_9_0_x86 >>>
Build_v2_10_0_x86 >>>
Build_v2_11_0_x86 >>>
Build_v2_12_0_x86 >>>
恶意代码检查 Antipoison >>>
编码安全与规范检查 CodeCheck >>>
CodeCheck_pre-commit >>>
开源片段检查 SCA >>>
开发者测试 UT_master_ARM >>>
UT_v2_7_1_ARM >>>
UT_v2_9_0_ARM >>>
UT_v2_10_0_ARM >>>
UT_v2_11_0_ARM >>>
UT_v2_12_0_ARM >>>
流水线 PR-pipeline_op-plugin >>>
此流水线已支持下列评论快捷指令,仅PR创建者评论有效
  • compile : 运行流水线
  • retry : 重试流水线所有失败子任务
  • retry <任务名> : 仅重试指定失败子任务
  • stop : 停止流水线
likedislike
ascend-robotascend-robot成员
6月12日 合入了pull request