4979a51a9c
This adds quite a lot of information though, because we send many strings. Before: 20686 characters. After: 55345 characters. Theoretically we could do better, and send information about existing imports only once as well, so when the user continues typing in a single file, without touching imports, we don't send any new data about imports (maybe just a confirmation that it is still the same). But I'm not sure if this is a worthwhile optimization. Actually, even included suggestion sets have similar property - they don't change for a given file, unless there are changes to other libraries which we might want to include. R=brianwilkerson@google.com Change-Id: I2f55e2dc85508849146aa39eb279beabaec937c0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/103561 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>