Bug 8877 – std.encoding.transcode is extremely slow

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-10-23T00:44:00Z
Last change time
2013-12-19T06:49:10Z
Keywords
performance, pull
Assigned to
nobody
Creator
kozzi11

Attachments

IDFilenameSummaryContent-TypeSize
1152bug2.dbenchmark codeapplication/octet-stream511

Comments

Comment #0 by kozzi11 — 2012-10-23T00:44:39Z
Created attachment 1152 benchmark code When I compare std.encoding.transcode vs. std.utf.toUTF*. std.utf.toUTF* has been almost 100x faster.
Comment #1 by github-bugzilla — 2013-12-05T00:30:11Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/46dc7b557eff1f268859ae56680797d5b45c21bf Fix Issue 8877 - std.encoding.transcode is extremely slow https://github.com/D-Programming-Language/phobos/commit/f011a9535f625fb5f1919ee40b38f69e8eaf1d74 Merge pull request #891 from Kozzi11/master Fix Issue 8877 - std.encoding.transcode is extremely slow
Comment #2 by k.hara.pg — 2013-12-09T03:56:11Z
Comment #3 by github-bugzilla — 2013-12-19T06:49:10Z