iterators+multithreading on win32
Michael Pyne
mpyne at purinchu.net
Sat Mar 5 23:36:07 CET 2011
On Saturday, March 05, 2011 13:21:21 James O. wrote:
> Correct me if I'm wrong, but since hard drives can't read from two places at
> once are speed increases actually realized from trying to multithread reads
> with TagLib?
Well, hard disks might surprise you (there are multiple physical platters
typically, there's no theoretical reason it couldn't support streaming
multiple files over a bus with a large enough transfer rate).
In addition it is very easy for the OS and hard disk both to perform read-
ahead and essentially read and return 3 files at a time (if they're laid out
on the disk properly).
It's the kind of thing you'd actually want to profile if at all possible
before assuming that there would be no change.
Regards,
- Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/taglib-devel/attachments/20110305/8b3eda6c/attachment.sig
More information about the taglib-devel
mailing list