Dimitri Papadopoulos Orfanos

Results 835 comments of Dimitri Papadopoulos Orfanos

Also, `swap_store` is used only on 32- and 64-bits integers: ``` $ grep -R swap_store blosc/b2nd.c: swap_store(pmeta, shape + i, sizeof(int64_t)); blosc/b2nd.c: swap_store(pmeta, chunkshape + i, sizeof(int32_t)); blosc/b2nd.c: swap_store(pmeta, blockshape...

Actually, (some) codecs **do** access `blosc2` internals – at the very least they include headers from `blosc`. For example, while compiling `plugins/codecs/zfp/blosc2-zfp.c`, the compiler complains about redefinitions of the new...

So, it would be part of the API after all. I will move/merge everything from `include/blosc2.h` and `blosc/blosc-private.h` to `include/blosc2/blosc2-common.h`.

These two functions are (almost) identical: * `swap_store()` from `include/blosc2.h` * `endian_handler()` from `blosc/blosc-private.h` These functions are really strange, it feels like they were written as an example not to...

I can't recall why this issue is stalled. I guess I'm not entirely certain how to fix this. Ideally, these functions should be removed from the API.

I think I mistakenly removed the `import`s while rebasing. Should be fixed now.

* The Python 3.14 CI errors might be related to https://github.com/python/cpython/issues/133653. * Not sure about the PyPy 3.10 CI error, but it seems unrelated to this PR as well.

Note that you have 4 files containing an underscore `_`: ``` $ find -path ./internal-complibs -prune -o -name '*_*.h' -print ./blosc/b2nd_utils.h ./plugins/plugin_utils.h ./tests/test_common.h ./tests/b2nd/test_common.h $ ``` and 23 files that...

Meanwhile, `include/blosc2/plugins-utils.h` disappeared in 092e30d3.