LibraryOfCongress / bagger-js

Upload BagIt-format deliveries to S3 entirely in the browser
https://libraryofcongress.github.io/bagger-js/
Other
32 stars 7 forks source link

Hash Worker: use FileReaderSync #15

Closed acdha closed 9 years ago

acdha commented 9 years ago

We should compare our current implementation with FileReaderSync to see if performance is similar using the synchronous API since it would make our code tidier by avoiding the current callback structure:

https://github.com/loc-rdc/bagger-js/blob/0ae2f7361a6d9edad588e8548d916bc4fb145e82/assets/js/hash-worker.js#L20-L37