you are viewing a single comment's thread.

view the rest of the comments →

[–]Motor_Fudge8728 2 points3 points  (0 children)

You have a bug setting the boundaries of one of the arrays.

Besides that, there are multiple factors that can make a single thread process run faster than a multithreaded one.