← Back to team overview

yade-dev team mailing list archive

Re: [Bug 729079] Re: Performance optimization of InsertionSortCollider

 

22.03.2011 13:31, Bruno Chareyre wrote:
Why do you think it should it break the algorithm?
It is because "interactions->insert(newI)" could insert two interactions
in the same list from different threads?
No. It will breaks the Insertion Sort Algo, not interactions->insert/erase (the operations are thread's locked, so they are safely for parallelization.). But a parallelization of sorting is not as simple as #pramga parrallel for...

--
Best regards,
Sergei D.




Follow ups

References