Skip to content

Document thread safety #95

@nurkiewicz

Description

@nurkiewicz

Please document if the library is thread-safe. I'm generating millions of test samples and want to know if I can safely reuse the same instance across threads. Also during prototyping, I use Fairy object as a Spring singleton bean - is it safe as well?

Another question - if I create hundreds of Fairy instances in quick succession, will they produce different samples? Or maybe (due to the same random seed maybe?) I'll get duplicates?

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