Skip to content

Very slow deserialization #100

@meghboltanic

Description

@meghboltanic

I found that in practice, use of DoubleArrayAhoCorasick::<V>::deserialize_unchecked() can be extremely slow. It typically takes 4-5s on my m1 (16gb ram) machine.

Here are some stats:

heap_bytes=90855648 // .heap_bytes()
num_states=7440593  // .num_states()
2023-12-11T01:35:52.049237Z  INFO load_index{index_file="index.bin"}:load:deserialize
2023-12-11T01:35:56.495537Z  INFO ...

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