Can you elaborate as to what the difference between Box-Muller and the implemented method is? As far as I understand Box-Muller it is just the implemented algorithm. On Wednesday, February 12, 2003, at 09:30 AM, Lapshin, Kirill wrote: ArialHello all, Arial  ArialWe've noticed that normal_distribution using polar method, rather then Box-Muller. ArialIs there a particular reason for not using Box-Muller? ArialLooks to me like a quite an easy way to improve performance. The method with source code is described in Numerical Recipes. ArialChanging current code to Box-Muller is just a few line code change. ArialIt improved performance of one of my apps by 20%, so the normal_distribution performance was even bigger. Arial  Arial__________ ArialKirill Lapshin Arial410-230-1123 Times New Roman