Comment

Comment by bajsejohannes

A tiny correction in the following:

    if (position + adjustedSpeed in memo and
        adjustedSpeed in memo[position + adjustedSpeed] and
        adjustedSpeed in memo[position + adjustedSpeed]):
The middle line is not needed.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton