Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid loading entire file into memory in fileInfo #134

Open
2 tasks
edsko opened this issue Dec 18, 2015 · 0 comments
Open
2 tasks

Avoid loading entire file into memory in fileInfo #134

edsko opened this issue Dec 18, 2015 · 0 comments

Comments

@edsko
Copy link
Contributor

edsko commented Dec 18, 2015

  • 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
@edsko edsko added this to the Phase 1 milestone Dec 18, 2015
@edsko edsko mentioned this issue Dec 18, 2015
5 tasks
@edsko edsko changed the title Avoid loading entirely file into memory in fileInfo Avoid loading entire file into memory in fileInfo Jan 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant