Skip to content

Batch mode for processing multiple files #2

@1f604

Description

@1f604

Currently, the program just hashes a single file.

However, we could make the program hash multiple files.

This could potentially bring some performance benefits since we can avoid the overhead of setting up the io_uring and the ring buffer for each file, and possibly open the next file before we have finished processing the current file, and send the request for the next file before we're done reading the current file - I'm pretty sure this will result in some amount of performance gain, but I don't know how much - need to benchmark it.

If there is enough demand for this then I will implement it. Since nobody has complained about this I'm going to assume that it's a non-issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions