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

add ByteString version of frames #77

Closed
wants to merge 2 commits into from

Conversation

codygman
Copy link
Contributor

I'm not sure if you even find this useful, but for my use case I can assume ascii a lot and using ByteString gives a nice speedup.

I couldn't think of a good way to do this (backpack adoption is way too far out) so I pretty much just made a copy and replaced stuff with bytestring implementations.

@acowley
Copy link
Owner

acowley commented Jan 6, 2017

I haven't yet had a chance to dig in to this. I really like the idea of better supporting ByteString and want it to happen. Is this wholesale duplication of everything necessary? I hope it can be boiled down to an appropriate type parameter and user-facing functions that fix that parameter to Text or ByteString for the "raw data" type. Of course, hopes don't compile even if they do type check, so it'll need to be sussed out with real code.

@codygman
Copy link
Contributor Author

codygman commented Jan 6, 2017 via email

@acowley acowley mentioned this pull request Nov 22, 2017
@acowley acowley force-pushed the master branch 3 times, most recently from 50157fc to aeca953 Compare March 23, 2021 15:04
@codygman codygman closed this Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants