TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

PHP 7 word count benchmark

13 点作者 clemlais大约 9 年前

3 条评论

meritt大约 9 年前
The algorithms differ considerably across language and the PHP one is particularly inefficient. The algorithms must be held constant in order for this &quot;benchmark&quot; to be valid.<p>As of right now this is just a programming competition across a variety of languages.
评论 #11346831 未加载
NEDM64大约 9 年前
Surprised by Python and Go results. They should have tested with PyPy too.
评论 #11351167 未加载
leeoniya大约 9 年前
i wonder if you could do even better with PHP&#x27;s SPL* functions like:<p><a href="http:&#x2F;&#x2F;php.net&#x2F;manual&#x2F;en&#x2F;class.splfixedarray.php" rel="nofollow">http:&#x2F;&#x2F;php.net&#x2F;manual&#x2F;en&#x2F;class.splfixedarray.php</a>