-
Notifications
You must be signed in to change notification settings - Fork 41
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
Big-endian seems to work: maybe remove misleading requirement on CRAN? #275
Comments
Hmm, it seems to work fine on
|
Everything works:
|
Hi @barracuda156, you're absolutely right, Big-endian reads and writes work correctly if done on the same system. The problem is when you transport the resulting fst files from a Big-endian system to a Little-endian system or visa versa. In that case, integer reads can mixed up for example because the byte-orders are reversed. This problem can be solved with an adjustment to the reading algorithm for those cases if there would be a need for that. So the LZ4 and ZSTD compression used by |
CRAN lists little-endian as a requirement. Why is it so? What may be needed to add big-endian support?
P. S.
fstlib
claims that it can be compiled on all major platforms, andzstd
andlz4
certainly build and work fine on Big-endian platforms.@MarcusKlik Could you please comment on this?
The text was updated successfully, but these errors were encountered: