Comments (2)
Streaming decoding makes perfect sense. The current code is very much oriented around having access to the entire bytestring, and probably can't be adapted without doing it some violence.
I won't have time to work on this for a while. You're welcome to take it on yourself. If you'd like to work on it, please take care to continue to support strict bytestrings without any loss of performance. I'd prefer to have two entirely distinct code paths than to find a way to share them that slowed down the strict case.
from base64-bytestring.
Fixed as of 1.0.0.0, c018215.
from base64-bytestring.
Related Issues (20)
- Poor performance HOT 2
- Suggestion: introduce a Base64 newtype HOT 7
- Test suite failure on Linux/x86_64 HOT 1
- Build needs UndecidableInstances with GHC 6.12.x HOT 1
- Add support for base64url with no padding HOT 4
- Rename `decode` to `decodeStrict`, and deprecate `decode`? HOT 1
- Support for rejecting non-canonical encodings HOT 5
- Looming regression with 8.10 HOT 4
- 1.1.0.0 release planning HOT 4
- disable padding for Base64.URL? HOT 2
- Refactor and Expand Test Coverage HOT 3
- Add Head validations for correct padding HOT 1
- Improve Performance of Encoding Loop
- RFC: Should Stringly-typed messages be replaced with Ints? HOT 1
- Massive performance slowdown in 0.1.1.0 HOT 6
- Fails When String Includes Byte Order Mark HOT 2
- incorrect decoding on GHC 9.0.1
- relax bytestring version constraint HOT 1
- `joinWith` does not always terminate the input HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from base64-bytestring.