4 ms·
Yes, there is. That code needs iterators.
by koverstreet 10y ago
Yes, there is. That code needs iterators.
- yoklov 10y agobut 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...