SCCP optimize special string concats to make strings interned
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- backend, performance
调研方向
Start by reading the SCCP implementation and its tests in php-src to locate how constant string concatenations are handled. Compare the listed concatenation cases and determine which are not recognized as interned strings. Done means the applicable cases are covered by tests and the optimizer produces interned strings for them.
由索引模型根据 Issue 内容生成。
描述
Description
Currently these cases create an interned string:
$strInternedA = "A my valid string A";
$strInternedB = "B my valid" . " string B";
Whereas these cases do not become an interned string:
$strNonInternedC = "C my valid";
$strNonInternedC .= " string C";
$strInternedD1 = "D my valid";
$strNonInternedD2 = $strInternedD1 . " string D";
These cases could get further optimizations implemented.
- 主要语言
- C
- 星标
- 41.8k
- 派生
- 8.5k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 145
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
php/php-src 的其他 Issue
-
ext/openssl: 8.2.31+/8.3.31+ fail to build against OpenSSL 1.0.2 (ASN1_STRING_get0_data in xp_ssl.c)未关闭
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
Bug Status: Needs Triage
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
SNMP accepts malformed remote ports可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 半天 新手友好度 62/100
维护者通常 1 天内回复
-
Bug Status: Needs Triage
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
quoted_printable_encode() produces lines longer than 76 characters for bytes 0xF5 to 0xFF可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
not for AI lovers
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
Template: Bug
难度 2/5 1-3 小时 新手友好度 83/100
betaflight/betaflight#16014 ·
维护者通常 3 天内回复
-
Bug: [BMC] show techsupport logs ERR "BMC instance is not available" on switch host with a SONiC BMC未关闭Bug :bug:
难度 2/5 1-3 小时 新手友好度 72/100
sonic-net/sonic-buildimage#30701 · 1 条评论 ·
维护者通常 1 天内回复
-
area:tooling bug platform:android
难度 2/5 1-3 小时 新手友好度 68/100
maplibre/maplibre-native-ffi#1791 ·
维护者通常 1 天内回复