4 ms·
but most of that code isn't iterating. the only parts in that function i see that are iterating ([0] and the similar loop below it) seems straightforward enough
by yoklov 10y ago
but most of that code isn't iterating. the only parts in that function i see that are iterating ([0] and the similar loop below it) seems straightforward enough to me.
i don't see how they would help here unless i don't know what you mean by iterators (assuming c++-style iterators or similar).
[0]: http://gitweb.dragonflybsd.org/dragonfly.git/blob/cf297f2cccd7fd102041ebf174af66a31a5ef5ce:/sys/kern/vfs_cluster.c#l1294 http://gitweb.dragonflybsd.org/dragonfly.git/blob/cf297f2ccc...