rtiow: don't batch by line, improves parallelism in the long tail.
This commit is contained in:
parent
eeb7813243
commit
6069bf9a65
@ -579,7 +579,7 @@ pub fn render(scene: Scene, output_dir: &Path) -> std::result::Result<(), std::i
|
||||
let start_time = time::Instant::now();
|
||||
let (w, h) = (scene.width, scene.height);
|
||||
handles.push(thread::spawn(move || {
|
||||
let batch_line_requests = true;
|
||||
let batch_line_requests = false;
|
||||
if batch_line_requests {
|
||||
for y in 0..h {
|
||||
pixel_req_tx
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user