martinkersner / non-maximum-suppression-cpp

MIT License
40 stars 24 forks source link

Pass vectors by reference #1

Closed drake7707 closed 7 years ago

drake7707 commented 7 years ago

All the vectors are copied on the stack in each function call, use & to pass them by reference.

martinkersner commented 7 years ago

Hi @drake7707 ,

Thank you for suggestion. Now, I pass vectors by reference. You can take a look at last commit.

Martin