| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat: stdlibs on OHOS only retain .gnu.hash section Signed-off-by: wangyang594 <wangyang594@huawei.com> | 6 天前 | |
!1510 merge split-stdlib-unstable-sort-refactor into main refactor(std.sort): split unstable_sort partition helpers Created-by: MinamiK Commit-by: Cangjie-ChenQian Merged-by: CangjiePL Description: ## Change Details (Required) 拆分 unstable_sort.cj 中超大 getPartition 函数。 ### Comparable 块 - getPartition → selectPartitionPivot + findFirstPartitionPivot + partitionAroundPivot + mergePartitionPivots + getPartition(薄封装) ### Comparator 块 - 同样模式,ByComparator 后缀 ## Change Type (Required) - [ ] Feature - [x] Bugfix - [ ] Build Process or Auxiliary Tool Changes - [ ] Documentation Update ## Self-Check of Changes (Required) ### Local Compilation Verification Results: - [ ] Cangjie Compiler compiled successfully - [ ] Cangjie Runtime compiled successfully - [x] Cangjie Standard Library compiled successfully - [ ] Not applicable (select this option for auxiliary tool changes or documentation updates) cjc --output-type=staticlib sort.cj sort_util.cj stable_sort.cj unstable_sort.cj → 0 errors ### Local Test Case Verification Results: - [x] Pass. Please provide screenshots below. - [ ] Not applicable. Please explain the reasons below. std/sort LLT 基准全部通过(10 文件 130 case 全 PASSED): | 测试文件 | TOTAL | PASSED | FAILED | |---|---|---|---| | test_sort_list | 16 | 16 | 0 | | test_unstableSort | 14 | 14 | 0 | | test_sort_unstable | 14 | 14 | 0 | | test_sort_arraylist | 17 | 17 | 0 | | test_arraySort | 6 | 6 | 0 | | test_stableSort | 14 | 14 | 0 | | test_sort_array | 16 | 16 | 0 | | test_timsort_large_array | 13 | 13 | 0 | | test_sort_list_exception_safety | 6 | 6 | 0 | | test_sort_stable | 14 | 14 | 0 |  LLT 覆盖:大量重复元素、逆序、有序、随机、小数组、comparator 自定义排序。 ### 性能验证 远程 Xeon Gold 6248R 10轮交错A-B基准测试:0 回归。详见评论。 ## Related Issues (Required) https://gitcode.com/Cangjie/cangjie_runtime/issues/703 替代 #1499 中 unstable_sort.cj 部分的拆分。 See merge request: Cangjie/cangjie_runtime!1510 | 2 天前 | |
fix: compile warning on android for link_flags Signed-off-by: renyi43 <renyi43@h-partners.com> | 5 天前 |