0
탐색을 위해 파일을 천천히 읽는 것이 더 나은 이유는 무엇입니까?C# 검색 대 읽기
//if (!read_fields[x] || !ok)
//{
// if (l > 0) Seek(l, SeekOrigin.Current);
// read[x] = null;
// continue;
//}
byte[] bx = new byte[l];
if (l > 0) Read(bx, 0, l);
if (!read_fields[x] || !ok)
{
read[x] = null;
continue;
}
내 속도 테스트는 탐색이 매우 느리다 고 말합니다!
참조 : http://stackoverflow.com/questions/4369278/filestream-seek-vs-buffered-reading –