`Iterate` to return state machine object
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- csharp
- 领域
- performance
调研方向
首先定位 Iterate 的实现及其当前的 IEnumerable 返回路径。阅读调用方如何使用 foreach 消费它,并找出与迭代相关的现有测试或基准测试。完成的标志是 Iterate 返回一个值类型状态机,foreach 仍然能够工作,并且移除 issue 中描述的虚调用开销。
由索引模型根据 Issue 内容生成。
描述
It currently returns IEnumerable, which has a virtual call. We can make it much faster by writing a value type state machine (foreach does not force IEnumerable).
- 主要语言
- C#
- 星标
- 52
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ASC-Community/GenericTensor 的其他 Issue
-
Determinant and Inverse return wrong values when called from more than one thread可能已有人在做 @Rafael-SOWNet 于 30 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
-
good first issue
难度 4/5 3-5 天 新手友好度 25/100
-
Opinions wanted proposal
难度 5/5 一周以上 新手友好度 25/100
ASC-Community/GenericTensor#31 · 2 条评论 ·
-
Will this package support MKL or OpenBlas as backend to accelerate matrix inverse computing speed未关闭
难度 5/5 一周以上 新手友好度 25/100
ASC-Community/GenericTensor#30 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
ASC-Community/GenericTensor#29 · 1 条评论 ·
查看 ASC-Community/GenericTensor 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
PCL-Community/PCL-CE#3658 ·
维护者通常 1 天内回复
-
Deploy & Patch-issues opprettes ikke: create-pnd-issues.yml har feilet hver uke siden 2025-09-08未关闭
难度 2/5 1-3 小时 新手友好度 62/100
Altinn/altinn-auth#4359 ·
维护者通常 1 天内回复
-
アプリ: チャット 優先: 中 提案
难度 2/5 1-3 小时 新手友好度 70/100
yksr-melt/Meltype#243 · 1 条评论 ·
维护者通常 1 天内回复
-
type/automation type/tech-debt
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复
-
no-stack-trace
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复