Listen friend, this isn't what Ruby is good at.
Acquire a C program, a C-Assembler program if possible and drive it from Ruby with an API.
Don't do mad cranking with Ruby.
Acquire a C program, a C-Assembler program if possible and drive it from Ruby with an API.
Don't do mad cranking with Ruby.
Although, at a 100x productivity increase, I might have to give it another look; I'd be out of grad school by Halloween.
*For the uninitiated, Monte Carlo is a fancy way of saying "for loops."
This lets you do the complicated, high-level stuff in a language suited for it, and do the nitty-gritty stuff in C or your favorite compiled language.
It's very important to pick the right tool for the job, and these days that doesn't even have to be one tool at a time.