Skip to content

[windows] slow paste performance #54

Description

@chris-b1

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: +-- copy-paste@1.3.0

Activity

  1. chris-b1 commented on Feb 21, 2017

    @chris-b1
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions