Bug 14384 – speed up Base64 decoding

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-03-31T19:31:28Z
Last change time
2024-12-01T16:24:14Z
Assigned to
No Owner
Creator
Martin Nowak
Moved to GitHub: phobos#9657 →

Comments

Comment #0 by code — 2015-03-31T19:31:28Z
We're slower than Rubinius here :(. https://github.com/kostya/benchmarks/tree/a2d10ddfeea208309fd53d666a533445a97ae264/base64 A promising attempt would be to replace the translation table with explicit code and to process strings in register sized chunks instead of byte-wise.
Comment #1 by r9shackleford — 2015-04-01T02:19:46Z
dmd* is slow, gdc is faster than every other implementation in the benchmark. http://forum.dlang.org/thread/[email protected]?page=2#post-kgolgxdoptsikvtxfrrp:40forum.dlang.org is this bug still valid?
Comment #2 by code — 2015-04-05T23:27:50Z
Sure, the 2 things I named are still valid ideas to speed up the function.
Comment #3 by robert.schadek — 2024-12-01T16:24:14Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9657 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB