www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14384] New: speed up Base64 decoding

https://issues.dlang.org/show_bug.cgi?id=14384

          Issue ID: 14384
           Summary: speed up Base64 decoding
           Product: D
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

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.

--
Mar 31 2015