[Issue 23467] New: tools/dspec_tester.d calls readText multiple times per file

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 6 21:10:56 UTC 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 at puremagic.com
          Reporter: nick at 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.

--


More information about the Digitalmars-d-bugs mailing list