Thread: Basic file io
View Single Post
Old 09-16-2019, 02:07 PM   #20
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,990
Default

Quote:
Originally Posted by Nonlinear View Post
Now, what is the difference/advantage of using WDL_FileRead/Write vs. std::fstream?
I would make a guess the WDL classes have more performant buffering etc settings than the std::fstream stuff has by default. The std::fstream stuff can be quite slow for dealing with large amounts of data unless you change the buffering settings etc...
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is offline   Reply With Quote