Talk:Petit Computer 3/@comment-15296152-20140705040614/@comment-15296152-20140706012106

I was thinking of ways that they could theoretically get a 100x improvement. One method that emulators use often now is dynamic recompilation. Just reducing each line of code to simpler elements so it won't have to re-parse these lines again would greately increase processing performance. Heck, they could even design the edit mode so that it'll pre-parse the lines you edit so it won't have to do that during run-time. Unfortunately, they might have to retain variable name parsing because of commands like CLEAR. If it weren't for commands like that (if they exist in PTC3), the program could just identify each unique variable name during edit-mode, give each one an address in RAM, and use that address in the recompiled lines, preventing the need to parse and identify them. Honestly, I don't know enough about the details of dynamic recompilation, so this is all assumptions.