| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This allows a user to set an external FileReader instance, therefore providing the ability to reuse the same FileReader instance in serial reads for better memory management.
|
Thanks for the pull request, but I'm a bit puzzled, what other objects implement the FileReader interface? |
Sorry, something went wrong.
|
It's not about an implementation of FileReader interface. Every call to FileAPIReader creates a new FileReader instance and unfortunately causes a lot of memory allocation. This allows one to set an external FileReader, so that keeps memory footprint low, because every invocation of the FileAPIReader can use the same FileReader. |
Sorry, something went wrong.
Add optional FileReader to FileAPIReader.
| Back | FazBrowse Home | New Git URL |
This allows a user to set an external FileReader instance, therefore providing the ability to reuse the same FileReader instance in serial reads for better memory management.