April 27, 2012 [dmd-internals] [D-Programming-Language/dmd] ec7844: 7987 [CTFE] cannot compare arrays of slices | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: ec78449561d5679d8c1281357f90a95be9bfe5ce https://github.com/D-Programming-Language/dmd/commit/ec78449561d5679d8c1281357f90a95be9bfe5ce Author: Don Clugston <don.clugston@sociomantic.com> Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M src/constfold.c M src/expression.h M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- 7987 [CTFE] cannot compare arrays of slices Creates a CTFE-aware implementaton of the Identity() and Equals() functions from constfold.c This removes heap allocation when comparing slices of strings, so it also improves performance in a few important cases. Commit: 5c2b247d681d3f44f229a15d00b4f3f4dc79bf6a https://github.com/D-Programming-Language/dmd/commit/5c2b247d681d3f44f229a15d00b4f3f4dc79bf6a Author: Don Clugston <don.clugston@sociomantic.com> Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M src/interpret.c Log Message: ----------- Fix Windows-only CTFE wrong code Commit: 4f85b4381d0aa7633e73cbf15e071e9ce53e39a6 https://github.com/D-Programming-Language/dmd/commit/4f85b4381d0aa7633e73cbf15e071e9ce53e39a6 Author: Walter Bright <walter@walterbright.com> Date: 2012-04-27 (Fri, 27 Apr 2012) Changed paths: M src/constfold.c M src/expression.h M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #910 from donc/ctfe7987sliceequals 7987 [CTFE] cannot compare arrays of slices, + improve speed Compare: https://github.com/D-Programming-Language/dmd/compare/b6f3c3e...4f85b43 |
Copyright © 1999-2021 by the D Language Foundation