Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
john-h-k
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
181.
▲
by
john-h-k
2y ago
Yes. The biggest win (that you may already do) is recording branch positions, so when you hit a `[` or `]` knowing exactly where to jump through rather than going left/right. My interpreter above isn't the most advanced (it was a
182.
▲
by
john-h-k
2y ago
Optimising the program absolutely will win in general, because the optimisations are extremely cheap and very impactful. See https://github.com/john-h-k/rustfuck for an example of the sort of speedup differences you ca