Francesc Alted

Results 90 issues of Francesc Alted

Frame serialization needs an overhauling so as to make sure that: 1) All ints for msgpack are to be stored in big-endian (aka network-endian) 2) The rest of ints (e.g....

`blosc2_schunk_load` should be a nice counterpart of `blosc2_schunk_open`. The former would mean that the (extended) frame should be loaded into memory. This new function should *probably* override existing `blosc2_frame_to_schunk`.

Currently, an error message is sent to `stderr` whenever there is a problem. It would be better to activate those errors only when and environment variable (e.g. `BLOSC_TRACE`, or `BLOSC_PRINT_ERRORS`)...

The existing `blosc2_schunk_decompress_chunk()` function uses the internal context associated with the superchunk for decompressing the specified chunk. However, reusing the same context is intrinsically thread unsafe. It would be nice...

api

Following the discussion in #40, it could be handy to have a new call for safer decompression that might have this signature: ``` int blosc2_decompress_safe(blosc2_context* context, const void* src, size_t...

enhancement
api

For safety and for early discovery of data corruption, one might be interesting to add (optional) checksums for chunks (and maybe for frames too). Libraries like [xxHash](https://github.com/Cyan4973/xxHash) or an [SSSE3...

[CodeFactor](https://github.com/marketplace/codefactor) performs code review automatically with every GitHub commit. Following @nmoinvaz, probably a better bet than [LGTM](https://github.com/Blosc/c-blosc2/issues/68).

Sometimes, the `bench/delta_schunk.c`, which is included in the test suite, crashes, specially on Windows (and most specially x86). I think the likelihood to see these crashes increases when `NTHREADS` in...

One could use the `bitunshuffle1_altivec` function instead of `bshuf_trans_byte_bitrow_altivec` for `typesize == 1` and `blocksize % (16 * 8) == 0`. See discussion in PR #98 for details.

enhancement

Right now, the only way to store variable length metadata in a blosc2 container is to use the usermeta section, but the user has full access to it, so it...