multiple simultaneous processes - multi-threading?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a job that builds statistical comparisons of > thousand files. Those are large so stored in gzip form. Current code is simple linear process. It doesn't gunzip() new files until it's done with previous files. I've optimized the stats part now to the point now that the gunzip() step is source of significant slowdown. Is there a way i can start a separate process (thread?) that just does the gunzip() step and run that ahead of the statistical processing? That way the stats routine could simply find and read the (already) gunzipped files. It already does clean up - removing gunzipped files as it finishes with them. I'm a hack at this (coder by necessity vs. profession), so simple answer or example would be way more useful than anything complicated.
Thanks!
Mike
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!