Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bawana
· 5y ago · 0 comments
Please clarify for me the part about the set exec command. You create n workers but you pass the whole image size to each. Why isn’t the image size divided by the number of workers?
Comments
[–]
slezyr
5y ago
See the source code, it uses worker_index to find which part of the image it needs to process.
[–]
delta64
5y ago
It figures out which rows to render using its own worker index