-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler warning about parameters with restrict #28
Comments
Yeah that's a good point and I've been lazy about fixing it because it hasn't caused any problems (yet). Curious what your thoughts are on using OpenFEC or wirehair for your application. WH is a bit heavier but has less overhead I think? |
Since your library operates in a stream fashion, another interesting alternative might be this library: https://github.com/catid/CauchyCaterpillar The advantage is that instead of waiting for a block of data to arrive to recover, you can recover almost immediately next time a recovery packet arrives. |
I've been using OpenFEC before, but it's been giving me memory leaks and sometimes even segmentation faults. Some of them went away after importing some third-party patches (don't quite remember right now where I got them from). In any case, I had the impression that OpenFEC is not actively maintained anymore, so I looked for alternatives. So it's less theoretical or performance arguments but more technical and practical arguments that caused me to switch.
Interesting, I'll take a look! It's true that |
Cool. Thanks for letting me know about OpenFEC. It might be interesting to build my own version of this staircase binary + GF(256) random code type library that's more robust. There's no advantage to using Reed Solomon codes AFAIK for the heavy part of the matrix, and in fact there is some other kind of matrix structure that seems to do better when concatenated with a binary code that seems to not be studied in the literature, which I incorporated into Wirehair a year or two ago after stumbling on it by accident. Could maybe make some improvements to the design? |
Hey, thanks for this awesome library! I've been using it for some time now inside my ROS package https://github.com/AIS-Bonn/nimbro_network/tree/develop.
Since updating to gcc 9.3 I'm getting a compiler warning:
I guess these should be fixed since the compiler can perform optimizations assuming that the arguments are not identical. Either we should remove the
restrict
qualifier or modify the calling code and copy the array before doing the operation.The text was updated successfully, but these errors were encountered: