alperezc commented on merge request !17 at KOTO L3 / L3 software

alperezc
2025-12-15T08:54:07Z

Also now that I remember, I was concerned about this when I first started reading the code too. In some places we do choose a single thread to read/write to some memory location (like here, here and here for example), and in others, we do multiple read/write operations with multiple threads on the same memory location (here, here, here and here for example).

Since from my tests I saw no real difference, I chose to keep the code I touched as easy to read as possible, but the rest I left untouched. If we are going to choose one of the two ways, I suggest we change it for all the code