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

LanguageFilter::Read_Word reads file one character at a time in unbuffered mode #1075

Open
xezon opened this issue Feb 3, 2024 · 0 comments

Comments

@xezon
Copy link
Contributor

xezon commented Feb 3, 2024

LanguageFilter::Read_Word reads file one character at a time in unbuffered mode. This is very slow.

Need to upgrade

File *file = g_theFileSystem->Open_File("langdata.dat", File::READ | File::BINARY);

to at least

File *file = g_theFileSystem->Open_File("langdata.dat", File::READ | File::BINARY | File::BUFFERED);

or use RAM File.

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