OT: PHP BCMath slowness

Kurt Raschke kurt at raschke.net
Thu Aug 4 08:04:33 PDT 2005

I'm working on OpenID producer and consumer support for a PHP-based  
content management system, and I am finding that BCMath seems to be  
extraordinarily slow for such things as Diffie-Hellman  
calculations...what takes BCMath 40-45 seconds is done by GMP in just  
a few seconds at most.  I am not sure if it is even wise to include  
BCMath support if it is going to over-run PHP's 30-second execution  
limit in most cases.

Any thoughts?


Kurt Raschke

More information about the yadis mailing list