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

Slow Write speeds on windows with small buffers #26

Open
DavZim opened this issue Jan 7, 2021 · 1 comment
Open

Slow Write speeds on windows with small buffers #26

DavZim opened this issue Jan 7, 2021 · 1 comment

Comments

@DavZim
Copy link
Owner

DavZim commented Jan 7, 2021

library(RITCH)
file <- system.file("extdata", "ex20101224.TEST_ITCH_50", package = "RITCH")
ll <- read_itch(file)

write_itch(ll, "tmpfile", buffer_size = 52, quiet = TRUE)

Takes 0.2 secs on Ubuntu and 42 (!) secs on Windows.
Maybe write_itch() is not yet fully optimised... (note write_itch is not used in filter_itch!).

@DavZim
Copy link
Owner Author

DavZim commented Jan 7, 2021

Current workarounds: use larger buffer sizes or use filter_itch to filter the data to another file first and then read it.

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