Skip to content
Snippets Groups Projects
  • Daniel Jasper's avatar
    cbb6c41f
    Change the datastructure for UnwrappedLines. · cbb6c41f
    Daniel Jasper authored
    It was quite convoluted leading to us accidentally introducing O(N^2)
    complexity while copying from UnwrappedLine to AnnotatedLine. We might
    still want to improve the datastructure in AnnotatedLine (most
    importantly not put them in a vector where they need to be copied on
    vector resizing but that will be done as a follow-up.
    
    This fixes most of the regression in llvm.org/PR14959.
    
    No formatting changes intended.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172602 91177308-0d34-0410-b5e6-96231b3b80d8
    cbb6c41f
    History
    Change the datastructure for UnwrappedLines.
    Daniel Jasper authored
    It was quite convoluted leading to us accidentally introducing O(N^2)
    complexity while copying from UnwrappedLine to AnnotatedLine. We might
    still want to improve the datastructure in AnnotatedLine (most
    importantly not put them in a vector where they need to be copied on
    vector resizing but that will be done as a follow-up.
    
    This fixes most of the regression in llvm.org/PR14959.
    
    No formatting changes intended.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172602 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.