-
Notifications
You must be signed in to change notification settings - Fork 1
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
Port changes to encoding/hex #1
Comments
At this stage there aren't and I'm not sure how possible that would be. It could be possible but it's likely the assembly would have to be rewritten to avoid licensing issues. Out of interest, do you have a specific need for this sort of performance? This project was more a toy project for me and I've never quite found the right use for it. |
I don't have a specific need. Just thought that the rest of the community could benefit from the improved performance! |
@WojciechMula, if you aggree together with @tmthrgd to transfer your copyrights to the “Go authors” then I'll be happy to make a change request and get this puppy in. Think of all the electricity we could save worldwide. :-) |
@pascaldekloe If the go authors are willing to accept an assembly hex implementation, I’m game. I am a little doubtful of that, but I could well be wrong. I’d be happy to help make it happen. As for licensing, I’m happy to sign a CLA and do the legal dance. |
I think your written permission to transfer the copyrights to the Go autors should be enough. The acceptance is a gamble indeed. You have good numbers to show for at least. |
Hi, I agree. TBH I'm really happy that @tmthrgd has applied my weird ideas and now they have a chance to be used wordwide. :) |
@pascaldekloe I happen to remain doubtful, but we shall see. 🙏 There are actually a few places I'd like to clean up the current assembly (mostly around @WojciechMula Where would the fun be if it wasn't for weird ideas. (I even tried to base64 but was stumped in decoding: tmthrgd/go-base64). |
All right, we have a no-go. It was worth the try. |
@pascaldekloe That's exactly what I expected. It was worth a shot at least, there's always this package. |
@tmthrgd, you might want to get the package compatible changes in here too for interoperability.
|
@tmthrgd speaking of base64, you might like to check @aklomp great library https://github.com/aklomp/base64 he used our methods, also on ARM architectures; the library's code is pleasant to read |
Any plans to port these changes to the stdlib? e.g.
encoding/hex
The performance improvements look awesome!
The text was updated successfully, but these errors were encountered: