Skip to content

Avoid loading entire file into memory in fileInfo #134

Open

Description

@edsko
  • In hackage-security: See TODO for fileInfo; currently we do two separate passes over the input bytestring, one to compute the length and one to compute the hash. Now that we have decided on the cryptolibrary to use, we should do this in a single pass.
  • In hackage-server: See TODO for constructTUFFiles

Activity

  1. added this to the Phase 1 milestone on Dec 18, 2015
  2. changed the title [-]Avoid loading entirely file into memory in `fileInfo`[/-] [+]Avoid loading entire file into memory in `fileInfo`[/+] on Jan 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions