Uploaded image for project: 'Swift'
  1. Swift
  2. SR-14137

[C++] Cache failed imports.

    XMLWordPrintable

    Details

      Description

      Currently, we cache decls after we successfully import them. However, if we fail to import a decl, we should (but currently do not) cache them too. I suspect that this will be a big performance improvement for the compiler because currently, we can't import complex templates or dependent types, which are very expensive to traverse. 

       

      This will require fixing a few visitors along the way.

        Attachments

          Activity

            People

            Assignee:
            thomassw66 Thomas Wheeler
            Reporter:
            Zoe Carver Zoe Carver
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: