Post #2153652
2026-04-20 03:57 UTC
Replies (1)
-
@ocratato@discuss.systems 2026-04-29 05:34
Anonymous Nodes for SASSY The anonymous nodes have now been implemented and tested. The core part was doing a Base64 encoding of the 16 byte UUID. There are many implementations of this floating about, so, obviously I had to invent my own. The thought was that there isn't any functions in standard libraries that can copy a single bit from one object to another. Time there was. Two alternative designs were examined. One uses a mask to select the bit and another to set it in the destination. The other shifts the bits from and to the desired position. The latter requires no branches, so I thought it might be quicker, but it was actually about 10% slower. The end result was a little slower than other solutions for Base64 encoding that process multiple bits at once. However, I do think this version is a lot clearer about what is being done. Now I just have to examine each of the 100 or so places that use blank nodes and see what changes to make. #SASSY #RDF #programming