Skip to content

Construct from already packed data #3

@RagnarGrootKoerkamp

Description

@RagnarGrootKoerkamp

It would be great if for alphabet size 2 and 4, it would be possible to construct a TextWithRankSupport directly from already-packed &[usize] data.
Currently I'm manually converting a bitmask to a Vec<u8> of 0 and 1, and then passing that, which is wasteful both for time and memory usage.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions