-
Notifications
You must be signed in to change notification settings - Fork 61
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
[TODO] Support reading line larger than 8192 bytes #20
Comments
Hi @syoyo |
@mandyedi Awesome! One possible solution is dynamically grow buffer while reading data using Another and more robust solutions is first read whole data from a file, then find line endings as done in multi-threaded .obj parser: https://github.com/syoyo/tinyobjloader/tree/master/experimental |
Thanks for the suggestions! To keep it simple and C compatible I choose the dynamic buffer solution. |
Add dynamic fgets for supporting long lines in mtl files. Fixes #20
Currently max bytes per line are limited to 8192.
Support arbitrary bytes per line.
The text was updated successfully, but these errors were encountered: