Closed acdha closed 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
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