Skip to content

Notes for a new file format version #13

Description

@algorithmiker

Short-term goals:

  • store attribute names and values separately:
    pub struct TraceEntry {
        pub parent: u32,
        pub message: Option<String>,
        pub metadata: MetadataContainer,
        pub attribute_names: Vec<(String, u32)>, // offset is relative to the start of attr values
        pub attribute_values: Vec<EnValue>,
    }
    • this would make it faster to check whether an attribute exists
  • here, attribute names should be sorted (binary searchable)

Longer term:

  • B-tree based file with an unified format for ET/IET
  • figure out how we could add attributes dynamically?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions