I thought that this part of the collision builder was unnecessarily complicated and I didn't like that it is creating new HashMaps on every row. I tried to measure the the difference with std::time::Instant, but turns out the difference is in microseconds, not much improvement in time. But I still decided to submit this PR because I think it is a slight improvement.
What do you think?
I thought that this part of the collision builder was unnecessarily complicated and I didn't like that it is creating new HashMaps on every row. I tried to measure the the difference with std::time::Instant, but turns out the difference is in microseconds, not much improvement in time. But I still decided to submit this PR because I think it is a slight improvement. What do you think?