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

Decrease paste time by inserting line breaks #19

Open
jyn514 opened this issue Dec 10, 2017 · 4 comments
Open

Decrease paste time by inserting line breaks #19

jyn514 opened this issue Dec 10, 2017 · 4 comments
Labels
easy enhancement improvement to existing feature good first issue

Comments

@jyn514
Copy link
Collaborator

jyn514 commented Dec 10, 2017

When pasting bitshuffle-encoded data, large files can take a long time to paste, since the application must read the text into memory. This is exacerbated by large line lengths.

The current standard is to add one line break after each packet. However, with large chuck sizes (>~1000) this decreases load times significantly.

We should add an option, enabled by default, to insert line breaks approximately every 100 characters.

@charlesdaniels
Copy link
Owner

charlesdaniels commented Dec 10, 2017 via email

@jyn514 jyn514 added easy enhancement improvement to existing feature good first issue labels Dec 10, 2017
@jyn514
Copy link
Collaborator Author

jyn514 commented Feb 18, 2018

On the topic of reducing paste time - I'm considering not opening an editor unless specified. Even vim adds a considerable amount of time for no benefit I'm aware of, since there's no need to edit the pasted packet. Will try to get some numbers on this.

@charlesdaniels
Copy link
Owner

charlesdaniels commented Feb 18, 2018 via email

@jyn514
Copy link
Collaborator Author

jyn514 commented Feb 18, 2018

Possible alternate usage:

cat << EOF | bitshuffle -d
<packet>
EOF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy enhancement improvement to existing feature good first issue
Projects
None yet
Development

No branches or pull requests

2 participants