Skip to content

BufRead when loading model - #5

Closed
benediktwerner wants to merge 2 commits into
tsoding:mainfrom
benediktwerner:buf-read
Closed

BufRead when loading model#5
benediktwerner wants to merge 2 commits into
tsoding:mainfrom
benediktwerner:buf-read

Conversation

@benediktwerner

Copy link
Copy Markdown

Also refactors the loading into a function.

But the crucial change is BufReader::new(..) around index_file. The current deserialization is doing unbuffered IO which is why it's so extremely slow.

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

Successfully merging this pull request may close these issues.

1 participant