-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up transfer of outputs to notebook webviews (#178719)
Speed an transfer of outputs to notebook webviews For microsoft/vscode-jupyter#11031 The VS Buffer for the output items has a short byte length but a very large backing buffer (`Uint8Array` which is actually a `Buffer`) When sending outputs to the webview, we ended up transfering the huge backing buffer instead of the much smaller actual data We can fix this by creating a Uint8Array copy of the data and then transfering it to the webview
- Loading branch information
Showing
1 changed file
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters