www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14641] New: Use SIMD to accelerate comment lexing


          Issue ID: 14641
           Summary: Use SIMD to accelerate comment lexing
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

We encourage use of Ddoc to document functions. But this can result in
voluminous comments, which slow down the lexer. Lexing comments can be
accelerated by using SIMD vector instructions.

A little inline assembler in the lexer.c dmd source code would implement this.

Jun 01 2015