Skip to content

Explanation about "stateless" #17

@jorenretel

Description

@jorenretel

I am looking to switch from ncls to ruranges. I believe when you say it is fast. But I am a little bit confused about the "Stateless: plain functions, no classes." aspect. When I use NCLS, some work is done at the moment I create the NCLS object, like building an index. When I repeatedly search against that same index, that work supposedly does not have to be done again.

It seems like ruranges is starting from scratch every time though. Could you maybe explain how this works? I think a comment on this would help a lot of people that have to search against the same set of intervals very many times.

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