Skip to content

Optimize for ZST value #76

Description

@virusdefender

A typical use case is using quick_cache as a HashSet with an eviction mechanism. In such scenarios, the value is usually a zero-sized type like PhantomData.

Since there's no need to update the stored values in these cases, concurrent management mechanisms such as PlaceHolder are unnecessary, thus reducing memory overhead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions