Hamish Knight
152812cc86
[AST] Use cached deserialized decl in getOpaqueResultTypeDecl
...
Mangling and looking up the opaque result type decl
for serialized decls is a fairly expensive
operation. Instead, fallthrough to the request
which will have a cached value set by deserialization.
This shaves ~30ms off the cached completion for:
```swift
import SwiftUI
struct V: View {
var body: some View {
Table(#^CC^#
}
}
```
2024-11-04 11:29:55 +00:00
..
2024-10-14 17:46:53 -07:00
2024-11-03 11:37:01 -08:00
2024-10-10 17:53:12 -04:00
2024-10-14 17:46:53 -07:00
2024-09-04 15:13:43 -07:00
2024-08-12 14:26:01 -07:00
2024-10-22 20:14:43 -04:00
2024-10-22 20:14:43 -04:00
2024-09-24 19:12:44 -04:00
2024-11-03 11:37:01 -08:00
2024-10-31 11:32:40 +00:00
2024-10-31 11:58:55 -07:00
2024-11-01 15:12:58 -07:00
2024-10-30 10:53:42 -07:00
2024-10-30 10:53:42 -07:00
2024-10-31 11:32:40 +00:00
2024-10-31 11:32:40 +00:00
2024-10-31 11:32:40 +00:00
2024-10-09 11:48:07 -04:00
2024-10-21 17:21:09 -04:00
2024-10-28 17:29:01 -07:00
2024-11-03 11:37:01 -08:00
2024-10-24 18:17:52 -04:00
2024-10-14 17:46:53 -07:00
2024-08-08 23:35:58 -04:00
2024-08-08 23:35:58 -04:00
2024-10-28 10:07:27 -07:00
2024-08-08 23:35:58 -04:00
2024-10-14 17:46:53 -07:00
2024-10-28 10:07:27 -07:00
2024-10-31 11:32:40 +00:00
2024-09-13 15:19:48 -04:00
2024-11-02 01:23:59 -07:00
2024-08-08 23:35:58 -04:00
2024-11-02 01:23:59 -07:00
2024-09-24 13:59:29 -07:00
2024-09-04 14:57:38 -04:00
2024-09-04 14:57:38 -04:00
2024-10-01 09:36:29 -07:00
2024-10-12 17:24:08 -07:00
2024-10-26 09:26:39 -07:00
2024-09-30 16:01:33 -07:00
2024-08-03 16:05:09 +01:00
2024-11-01 08:18:13 -07:00
2024-11-02 01:23:59 -07:00
2024-11-03 17:20:56 -08:00
2024-11-03 11:37:01 -08:00
2024-08-08 23:35:58 -04:00
2024-09-13 19:26:42 -04:00
2024-10-31 11:32:40 +00:00
2024-08-28 15:09:40 +01:00
2024-10-31 11:32:40 +00:00
2024-08-07 15:02:33 -07:00
2024-10-31 11:32:40 +00:00
2024-11-02 01:23:59 -07:00
2024-10-14 17:46:53 -07:00
2024-10-31 11:32:40 +00:00
2024-11-02 01:23:59 -07:00
2024-09-17 17:35:38 +09:00
2024-10-11 20:33:38 -07:00
2024-08-29 14:31:48 -07:00
2024-11-03 17:20:56 -08:00
2024-10-31 11:32:40 +00:00
2024-09-19 12:54:27 -04:00
2024-11-04 11:29:55 +00:00
2024-09-29 17:05:14 +01:00
2024-10-30 10:58:26 +00:00
2024-09-27 12:16:38 -07:00
2024-08-15 16:26:03 -07:00
2024-11-03 11:37:01 -08:00
2024-08-16 16:29:30 -07:00
2024-10-30 13:20:33 -05:00
2024-09-13 16:25:18 -07:00
2024-10-28 17:09:47 +00:00
2024-10-11 03:57:43 +03:00
2024-11-02 01:23:59 -07:00
2024-10-29 14:24:36 -07:00
2024-10-24 15:29:48 +01:00
2024-10-31 11:32:40 +00:00
2024-09-04 15:13:47 -07:00
2024-10-22 20:14:43 -04:00