FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add optional FileReader to FileAPIReader. by dashersw · Pull Request #25 · aadsm/JavaScript-ID3-Reader · GitHub

Add optional FileReader to FileAPIReader. - #25

Merged
aadsm merged 1 commit into
aadsm:masterfrom
dashersw:master
Nov 25, 2013
Merged

aadsm merged 1 commit into
aadsm:masterfrom
dashersw:master

Conversation

Copy link
Copy Markdown
Contributor

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.

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.

aadsm commented Nov 19, 2013

Copy link
Copy Markdown
Owner

Thanks for the pull request, but I'm a bit puzzled, what other objects implement the FileReader interface?

Copy link
Copy Markdown
Contributor Author

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.

aadsm added a commit that referenced this pull request Nov 25, 2013
Add optional FileReader to FileAPIReader.
aadsm merged commit 59fded1 into aadsm:master Nov 25, 2013
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL