Skip to content

Thread-safe #1

@agalera-nice

Description

@agalera-nice

Hi, I would like to ask about the thread safety of this project.

I think if the methods that modify the tree are atomic it should work pretty well for multi thread write.

I think it should not be very tough to get it done, because there are multiple java concurrent collections that acts as drop-in replacement for non concurrent collections.

If I synchronized the add methods I think I'm loosing too much time blocking

What do you think? I hope it's worth give it a try!

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