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

Remove deprecated FileStream #300

Merged
merged 2 commits into from
Apr 14, 2015
Merged

Remove deprecated FileStream #300

merged 2 commits into from
Apr 14, 2015

Conversation

miloyip
Copy link
Collaborator

@miloyip miloyip commented Apr 14, 2015

The class FileStream was deprecated for a long time. It has high overheads for writing a single character with fputc().

Therefore, FileStream was superseded by FileReadStream (filereadstream.h) and FileWriteStream (filewritestream.h). The new ones require a buffer supplied by user. And they use fread() and fwrite() to improve performance over fputc().

miloyip added a commit that referenced this pull request Apr 14, 2015
@miloyip miloyip merged commit 94c0082 into master Apr 14, 2015
@miloyip miloyip deleted the RemoveFileStream branch April 16, 2015 01:46
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