Cached boxed numerics are always boxed as int
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先跟踪 runtime 中针对 ints、doubles 和 int64s 的小值 boxing 与 caching 路径,并使用 issue 中描述的行为作为复现依据。确认已缓存的 boxed doubles 和 int64s 报告的是它们自身的类型,而不是 int;当 cache 不再导致该类型不匹配时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Discovered in https://github.com/HaxeFoundation/haxe/pull/12410, doubles and int64s have the same small boxed value caching done, but they're put in the same cache as ints and are boxed as ints.
So when a int64 is boxed and it's boxed form is pulled from the cache it will report its type as just int.
- 主要语言
- C++
- 星标
- 330
- 派生
- 233
- 平均合并
- 7 小时 13 分钟
- 30 天内合并 PR
- 17
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
HaxeFoundation/hxcpp 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
HaxeFoundation/hxcpp#1217 ·
维护者通常 1 天内回复
-
bug regression
难度 3/5 1-2 天 新手友好度 40/100
HaxeFoundation/hxcpp#1464 ·
维护者通常 1 天内回复
-
bug
难度 4/5 1-2 天 新手友好度 18/100
HaxeFoundation/hxcpp#1454 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
HaxeFoundation/hxcpp#1452 ·
维护者通常 1 天内回复
-
Review TLS fix未关闭
难度 4/5 3-5 天 新手友好度 25/100
HaxeFoundation/hxcpp#1446 ·
维护者通常 1 天内回复
查看 HaxeFoundation/hxcpp 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
eclipse-score/lifecycle#929 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
colbymchenry/codegraph#3223 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
firefox-devtools/profiler#6436 · 1 条评论 ·
维护者通常 1 天内回复
-
The `ufw` decoder requires the kernel's monotonic timestamp, so UFW lines read from journald decode without any field可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复