This week has gone a little better than last week in most respects, particularly the sit-at-the-desk part, so I've been working on loose ends that have piled up in 515: mainly a lot of testing and documentation that needed doing.
Another item on my agenda has been to improve performance on some common tasks. I'm still on the fence about some kind of built-in proc for things like distances, e.g. a built-in sqrt(x*x + y*y + z*z + ...). But, I did add some interesting optimizations for those sorts of operations anyway. So now an operation like (a-b)*(a-b) only has to calculate a-b once, and likewise I've optimized x ** 2 with the same method. This comes up enough that I think it'll be a hidden benefit to some existing code, so it's one of those painless hidden optimizations.
I'm still perplexed by a bug that cropped up last week regarding world.Export(), and I don't have a good answer for it. My gut says the solution lies in revamping the code used for sleeping background procs that wait for an external event, since something inexplicable must be wrong with it. But, that's a project I don't feel comfortable taking on at this moment, so it'll have to wait. Anyway I have no means of reproducing the bug on my own right now.
Also on the to-do list is that one user has come up with a potential improvement for the checksum algorithm BYOND uses for cache files and various other things. I'm thrilled about that possibility, but I need to dissect the code in question and see how it can be converted to the existing environment. Apparently it makes some use of instructions I don't know the Linux compilation toolchain will support. (The Linux end has been a bottleneck to adopting a lot of cool newer C++ capabilities.)
Thanks to all of you who continue to support BYOND as Members and on our various donation platforms. It's much appreciated.
Spring is drawing near, which explains all the snow this week. At this point I'm wondering what fresh hell will keep me from a zoo day for the fifth year in a row, and that bingo card is looking mighty grim. We could all use a lot of cheering up. So if anyone's sitting on some top-tier cat videos or a clip of Amy Schumer getting heckled by a real comedian, this is your hour.
Mar 11 2022, 10:07 am