Closed data-man closed 5 years ago
It looks like your wrapper is unsafe.
@cheatfate, can you clarify what you noticed about the wrapper?
@data-man, the code seems to insert if
blocks in all the right places, but it's not clear to me what the issues were. I would recommend that you change the input types of the libsnappyc
package to use openarray[byte]
though.
@zah, please check Appveyor tests.
@zah
but it's not clear to me what the issues were.
Just not working as expected. :-(
I would recommend that you change the input types of the libsnappyc package to use openarray[byte] though.
I plan to port Snappy to pure Nim, but I'm not sure where: in the status-im or in NimCompression?
Well, do we assume that the C port of snappy has such basic issues because it's less often used? Seems a bit dubious to me, but nevertheless, we can also try the classic snappy lib, which actually also has a C interface:
After adding the CIs tests, I discovered that the snappy-c doesn't work on x32.
Not working yet. I want to make sure that I'm on the right way. :-)