3 ms·
The PR in question seems to be https://github.com/RoaringBitmap/CRoaring/pull/446 https://github.com/RoaringBitmap/CRoaring/pull/446 I agree that the GitHub an
by jeffbee 4y ago
The PR in question seems to be https://github.com/RoaringBitmap/CRoaring/pull/446 https://github.com/RoaringBitmap/CRoaring/pull/446
I agree that the GitHub analyses are worse than useless, but I also think it highlights the friction between intrinsics and the program in which they appear. There probably is a better model.
- nkurz 4y agoI think this "friction" is really important to understand. For code of this sort, usually you figure out what assembly you want produced, and then you figure out the intrinsics necessary to produce this. In your mind, there is a clear one-to-one correspondence between the what you write and the assembly you want generated, but too frequently the compiler may have other ideas. It constantly feels like your are fighting the compiler's attempts to subvert you. Personally, I think this best current solution is writing blocks or entire functions in assembly, but admittedly the tools for this aren't great.