Skip to content

Performance issue with Path-based BOM-detection #149

@osiegmar

Description

@osiegmar

As discussed in #148, the current BOM detection mechanism using Path does not (noticeably) outperform the InputStream variant and can even have the opposite effect when reading many files, as the file is read twice. Therefore, the Path variant should use the same mechanism as the InputStream variant—reading the entire file through the BOMInputStream.

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