Skip to content

Store full/empty bit in a bit-vector #23

@Stebalien

Description

@Stebalien

Instead of using options, consider storing a full/empty bit-vector (backed by a RawVec for storing the actual values).

  1. This takes less space when the null pointer optimization doesn't apply.
  2. It allows for faster cache friendly iteration over reasonably sparse vec-maps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions