Waiting for the furnace repair person again. Yesterday's repair took it from not working at all to it worked until I went to sleep last night but then this morning the house was cold again and it's working intermittently for a few minutes every few hours so hopefully it can get fixed for real this time.
This is really amazing. "Quoting" games, a technique for creating a minimal playable snippet of a game separate from the entire game.
@gnomon What do we get if we use nano?
@mhoye I think they just show you the first half of that episode of the Garfield cartoon where everybody just does whatever the helpful lady in the phone tells them to do and says that this is the blueprint for the future of humanity that we should be working toward.
The difference is that the old code was using something considerably more heavyweight to start with that has a lot of capabilities that aren't needed for this feature. My excuse is that this was already there and needed for other things and hundreds of microseconds is still plenty fast enough for this, whereas the new code does a lot less and it was a few hundred SLoC that I had to write, though I did encapsulate that such that it's almost exactly the same code at the call site.
Finished integrating the new evaluator for mathable fields in Typica 2 and did some performance testing. Despite the utter garbage quality of my code with considerable room for performance optimizations when I'm in a better head space for that, it's producing results that are always correct in 10s of microseconds where the old code was producing results that were only almost always correct in hundreds of microseconds.
Any performance difference is not all that important here because it's for low volume interactive use and either would give apparently instant results even on machines that would have been considered low end a couple decades ago, so it's really just personal curiosity.
Finished up some code that I've only been able to get a bit of time here and there to chip away at which would have gotten done a lot faster with a larger contiguous block of time to write it in. Kind of want to benchmark it against the code that it's replacing because on the one hand what I just wrote is not even remotely optimized, but on the other hand it does way less than the code it's replacing.
Author of Typica software for coffee roasters.