{"action":"closed","issue":{"url":"https://api.github.com/repos/mathnet/mathnet-numerics/issues/365","repository_url":"https://api.github.com/repos/mathnet/mathnet-numerics","labels_url":"https://api.github.com/repos/mathnet/mathnet-numerics/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/mathnet/mathnet-numerics/issues/365/comments","events_url":"https://api.github.com/repos/mathnet/mathnet-numerics/issues/365/events","html_url":"https://github.com/mathnet/mathnet-numerics/issues/365","id":127915570,"number":365,"title":"Erf.cs: performance issues","user":{"login":"Yenyenx","id":8297199,"avatar_url":"https://avatars.githubusercontent.com/u/8297199?v=3","gravatar_id":"","url":"https://api.github.com/users/Yenyenx","html_url":"https://github.com/Yenyenx","followers_url":"https://api.github.com/users/Yenyenx/followers","following_url":"https://api.github.com/users/Yenyenx/following{/other_user}","gists_url":"https://api.github.com/users/Yenyenx/gists{/gist_id}","starred_url":"https://api.github.com/users/Yenyenx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yenyenx/subscriptions","organizations_url":"https://api.github.com/users/Yenyenx/orgs","repos_url":"https://api.github.com/users/Yenyenx/repos","events_url":"https://api.github.com/users/Yenyenx/events{/privacy}","received_events_url":"https://api.github.com/users/Yenyenx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mathnet/mathnet-numerics/labels/X-Performance","name":"X-Performance","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-21T12:37:24Z","updated_at":"2016-02-07T08:55:03Z","closed_at":"2016-02-07T08:55:03Z","body":"Hi,\r\nI have been using the Normal distribution coded in MathNet.Numerics a lot lately and profiling tests reveal a lack of computational performance especially in Erf.cs. I have been looking through the code and was wondering why the static functions coded in Erf.cs do not use static parameters instead of double arrays initialized at each function call... It could be a significant improvement in computational speed and won't in any way alter the numerical accuracy or thread safety of the code.\r\nWhat do you think ?"}}