November 06, 2022
https://issues.dlang.org/show_bug.cgi?id=23467

          Issue ID: 23467
           Summary: tools/dspec_tester.d calls readText multiple times per
                    file
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody@puremagic.com
          Reporter: nick@geany.org

tools/dspec_tester.d reads the entire contents of the same file for each of the 4 (was 3) kinds of example (extracted from .d/.dd files). This wastes memory and slows down the test runner. Each file should only be read once.

PR incoming.

--