Skip to content

Descriptor cache lookups can be reduced #196

@marvin-j97

Description

@marvin-j97

In the worst case, a table lookup can require 3 hits:

  • filter
  • index
  • data

When any block is accessed, the file could maybe be stack allocated for the remainder of the lookup and reused for the other lookups. Reduces cache lookups to 1, always.

But it requires remodelling how load_block is used a little. We may need a &mut ReadContext or whatever.

Then, benchmark changes in a fully cached workload.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions