Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[windows] slow paste performance #54

Open
chris-b1 opened this issue Feb 20, 2017 · 1 comment
Open

[windows] slow paste performance #54

chris-b1 opened this issue Feb 20, 2017 · 1 comment

Comments

@chris-b1
Copy link

xref VSCodeVim/Vim#1299

For me, on Windows, the paste function is noticeably slow - on the order of 1 second. I'm assuming the bottleneck is the vbscript, wondering if there is a possible alternative or optimization?

https://github.com/xavi-/node-copy-paste/blob/9897be123ca03e4946325270dcc80a5736a36cc7/platform/fallbacks/paste.vbs

os: Windows 7 64 bit
version: +-- [email protected]

@chris-b1
Copy link
Author

I know very little about ffi in js, but potentially could use a similar approach to (BSD licensed) pyperclip.

https://github.com/asweigart/pyperclip/blob/f02774f8ff8c9e5ae7d2e498053fe224d9ba0f74/pyperclip/windows.py#L25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant