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

Cache downloaded header file(s) in isigopen #4

Open
bemoody opened this issue Aug 27, 2014 · 0 comments
Open

Cache downloaded header file(s) in isigopen #4

bemoody opened this issue Aug 27, 2014 · 0 comments

Comments

@bemoody
Copy link
Owner

bemoody commented Aug 27, 2014

The usual idiom is to call isigopen(record, NULL, 0) to determine how many signals are in a record, then to call isigopen a second time after allocating the signal information buffer. In this case, we should only have to download the master header file (and the layout header file, if any) once. This could be implemented by keeping the WFDB_FILE handles open and rewinding them, rather than closing and reopening them.

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

No branches or pull requests

1 participant