Revision 4cac104e75d15c6744144b1f0e43dcf87c35bc8a authored by Jonas Rembser on 09 April 2024, 13:56:42 UTC, committed by Jonas Rembser on 10 April 2024, 01:00:37 UTC
The `bool` columns in RDF are special, because the Take action returns a
`std::vector<bool>`, which has an implementation-depended memory layout
for space optimization.

Therefore, I suggest supporting taking `bool` columns as `unsigned char`
with `Take()`, such that in `RDataFrameAsNumpy` the values can be
directly taken as bytes. This avoids superfluous copying in the code,
and keeps the special logic in the pythonization side minimal.

Closes #8639.
1 parent d7b4074
History

back to top