Parallel raycast

Hi,
It would be great to have the possibility to parallelize the raycast processing.
What I mean is the now we can only pass to the raycast method a single point and vector input so we then have to run a loop for each single input pair. This being done in ruby, is single threaded and serial in nature and it limits the speed of the mesurements we can do with it.
If the method could accept an array of inputs and return an array of results, I would think that in the back, using threads from C, because this doesn’t change the model in any way, this could be computed using multiple threads and speed it up. This would open up some possibilities that are now too time consuming especially for large models.

In alternative, is there any way we could do this (or similar) ?

Best regards