Toot

Written by groff on 2025-01-01 at 01:31

@rheolism

Nice algorythm.

Setting the memory locations to -1 makes the last IF quicker as it's implicit true rather than =0, and as there are more misses than hits adding B% to the loop then subtracting it from the number printed is faster than adding B% to every lookup. Saving about 2.34 seconds.

Edit: Oops, that introduces an error that prints several false positives. Too tired to work out why right now.

Edit 2: The memory on tbe beeb isn"t initialised fully empty. Thats why.

=> More informations about this toot | View the thread | More toots from geoffl@mastodon.me.uk

Mentions

=> View rheolism@oldbytes.space profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113750514010047944
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
226.780936 milliseconds
Gemini-to-HTML Time
0.406065 milliseconds

This content has been proxied by September (3851b).