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.

Rust's improvement on slice.binary_search_by() caused OOM on Polkadot

2 pointsby xnhbxalmost 4 years ago

1 comment

xnhbxalmost 4 years ago
... and it was by no means Rust&#x27;s fault.<p>Rust&#x27;s slice.binary_search_by() used to have an implementation equivalent to upper_bound(), and it got improved recently.<p>The PR of the improvement: <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;pull&#x2F;74024" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;pull&#x2F;74024</a><p>Polkadot&#x27;s postmortem: <a href="https:&#x2F;&#x2F;polkadot.network&#x2F;a-polkadot-postmortem-24-05-2021&#x2F;" rel="nofollow">https:&#x2F;&#x2F;polkadot.network&#x2F;a-polkadot-postmortem-24-05-2021&#x2F;</a>