Vectorized `bitset::to_string()` remove `_Load_constant()` trick
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp
- 领域
- compilers, performance
调研方向
Start in stl/src/vector_algorithms.cpp around lines 12125–12126 and trace the _Load_constant() implementations used by vectorized bitset::to_string(). Inspect the generated code and run the relevant benchmark to verify whether literal-constructed vectors preserve the improved compiler behavior. Done means the workaround and its implementations are safely removable without a code-generation or performance regression.
由索引模型根据 Issue 内容生成。
描述
There's DevCom-11056873 workaround
The compiler issue has been fixed.
The call to _Load_constant() and each its implementation can probably be safely replaced with vectors constructed from literals.
But need to inspect codegen and/or run the benchmark to see if it is really fixed.
- 主要语言
- C++
- 星标
- 11.2k
- 派生
- 1.7k
- 平均合并
- 4 天 4 小时
- 30 天内合并 PR
- 14
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/STL 的其他 Issue
-
LWG
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 2 天内回复
-
generator LWG
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
LWG
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
`<__msvc_math.hpp>`: `_USE_MATH_DEFINES` is ignored after the first `<math.h>` include under `/Zc:cmath`可能已有人在做 @tiagomacarios 于 10 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 2 天内回复
相似的 Issue
-
bug data-types
难度 2/5 1-3 小时 新手友好度 71/100
ClickHouse/clickhouse-odbc#680 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 76/100
ionut-mihalache/aqua#31 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
needs-kind
难度 2/5 1-3 小时 新手友好度 63/100
villagesql/villagesql-server#1702 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
microsoft/vcpkg-tool#2191 · 1 个 reaction ·
维护者通常 1 天内回复