Issue Details
In the package for fast box intersections in the API we write Callback callback. Is it acceptable to turn that into const Callback& callback? I would like to do that for performance reasons. I would also document it. This may imply changes on the users code. Even in the PMP package I have to make some data members of callbacks mutable, as the Callback::operator()(Box*,Box*) must be const. Alternatvely, we could switch to Callback& callback.
Issue Details
In the package for fast box intersections in the API we write
Callback callback. Is it acceptable to turn that intoconst Callback& callback? I would like to do that for performance reasons. I would also document it. This may imply changes on the users code. Even in the PMP package I have to make some data members of callbacks mutable, as theCallback::operator()(Box*,Box*)must beconst. Alternatvely, we could switch toCallback& callback.