Re:Building a BASIC Interpreter, '80s style
by wizzwizz4 on Saturday July 04, 2020 @01:43PM
(#23733745)
I think you could make your lowercase loop shorter – and definitely faster – by jumping into a second loop when inside a string, instead of setting a flag.
[ Parent
| on HN ]
Re:Building a BASIC Interpreter, '80s style
by photokandy on Saturday July 04, 2020 @02:54PM
(#23734164)
You’re right! I’ll do that. :-)
I haven’t done a lot of optimization yet-probably lots of things like this. :-)