D-Programming-Language/dmd — pull request #910 by donc (2012-04-27 10:01:57+00:00)
Title: 7987 [CTFE] cannot compare arrays of slices, + improve speed

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.

This temporarily creates code duplication with constfold.c, but I have plans to clean that up in the future.