There is a way to optimize this program?

For fiber involved concerns, please check this discusstion for how use fixed number fiber as a pool to limit the memory usage.

And, i consider go can easily defeat the currently implemented preview_mt if multi-thread involved, there is even no need for comparison anyway, Crystal can only defeat go in single thread mode.