A couple of examples of a math formula that I am using would be:
B = ((T - 1) * 18) + ((P - 2) * 2) + 1
It depends on the amount of replications and this is such a deep technical question that we really have to dive deep into the codebase to figure this out for you :)
@juriaan Ahaha. Understood. I thought it might be a simple answer. I know you have much more important things to do. I will just try some stuff and see where I end up. Thanks for reponding.
Happy to dive deeper with you, but I dont have an answer for you at this moment.
Will do some testing on my own and report back
I suspect you will have very similar performance either way, however; I believe a series of Calculator actors will be slightly less heavy.
Due to the nature and easy of doing this in JS, I would personally use JS. But you could easily build both and use a global to switch between the methods used.. allowing you to make a change if performance required it.
I appreciate your input.