Re: [wsjt-devel] wsprd Fano Decoder Optimizations

2024-05-06 Thread Tolboom, Ryan via wsjt-devel
Hello, Thank you very much for taking an in-depth look at it. I really appreciate it. If I were to change my patch, I'd probably change the type from unsigned to uint32_t as after doing a bit more reading I see the int size isn't the same for different architectures. That being said, your testing

Re: [wsjt-devel] wsprd Fano Decoder Optimizations

2024-05-04 Thread Franke, Steven J via wsjt-devel
Ryan, Thanks for your suggestions. Your observation of a 0.6% change seems to be down in the noise, i.e. comparable to changes that you would expect to see from run to run even without any code changes. I tried your patch here on MacOS and the results showed that the patch doesn’t provide any s

[wsjt-devel] wsprd Fano Decoder Optimizations

2024-05-03 Thread Tolboom, Ryan via wsjt-devel
Good Afternoon, Here is a patch that eeks out a tiny performance boost for the fano decoder in lib/wsprd/fano.c. It does two things: 1. It removes an ENCODE call when initializing the root node since encstate is set to zero so you know lsym will end up being zero. 2. Since the ENCODE ma