September 08, 2013 [phobos] [D-Programming-Language/phobos] 680a72: Use a switch table for enum->string conversion, wh... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 680a7291ff0d19507d67e70bb828a73589cadfac https://github.com/D-Programming-Language/phobos/commit/680a7291ff0d19507d67e70bb828a73589cadfac Author: Andrej Mitrovic <andrej.mitrovich@gmail.com> Date: 2013-09-06 (Fri, 06 Sep 2013) Changed paths: M std/conv.d Log Message: ----------- Use a switch table for enum->string conversion, which avoids runtime memory allocation. Commit: d39696d151f802194893b45ab2839a0abbaa5c0c https://github.com/D-Programming-Language/phobos/commit/d39696d151f802194893b45ab2839a0abbaa5c0c Author: monarch dodra <monarchdodra@gmail.com> Date: 2013-09-08 (Sun, 08 Sep 2013) Changed paths: M std/conv.d Log Message: ----------- Merge pull request #1540 from AndrejMitrovic/ConvOptimize Use a switch table for enum->string conversion, which avoids runtime memory allocation. Compare: https://github.com/D-Programming-Language/phobos/compare/60187c9d8324...d39696d151f8 |
Copyright © 1999-2021 by the D Language Foundation