The letter

One letter a week, starting soon.

The week's signal, what shipped, what is worth running tonight, and the editor's note. No tracking, no ads, nothing else.

We keep your address, your language and the date you joined, nothing else. Every letter has a one-click unsubscribe link that deletes the record.

← Accept All   Archive
Zenn (AI)Japan

Rustのセッション検証がO(N²)だったので、エラーの順序を変えずに25倍高速化した話

10.28

はじめに Rustで開発しているOSSのSIGILで、4,000件のバイナリ入力を含むセッションを検証すると、約3.43秒かかる問題がありました。 https://github.com/ultra-supara/SIGIL 原因は、検証処理の中でセッション全体を何度も線形探索していたことです。

Read at Zenn (AI) ↗

More from Zenn (AI) on Accept All

More from Zenn (AI) on Accept All.