Version dependant slowing down of Gaussian Mixture sampling in Ubuntu 20.04

Thanks, I confirm, this way also gives the same speed up for 5.9.0. But 5.9.1 still stuck.