TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PHP 7 word count benchmark

13 pointsby clemlaisabout 9 years ago

3 comments

merittabout 9 years ago
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 未加载
NEDM64about 9 years ago
Surprised by Python and Go results. They should have tested with PyPy too.
评论 #11351167 未加载
leeoniyaabout 9 years ago
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>