Will multi threading provide any performance boost?

前端 未结 19 1046
说谎
说谎 2021-02-05 13:49

I am new to programming in general so please keep that in mind when you answer my question.

I have a program that takes a large 3D array (1 billion elements) and sums up

19条回答
  •  难免孤独
    2021-02-05 14:15

    If you can divide the array in a way that the threads don't write/read to/from the same positions in the array it should increase your speed.

提交回复
热议问题