Overview
| Artifact ID: | 8d5c8039471b94e144cc34ff7009b87d9ecc80bd |
|---|---|
| Ticket: | 1767293fffffffffffffffffffffffffffffffff
Bad performance using ** operator with integer operands |
| User & Date: | dgp on 2007-08-06 22:19:04 |
Changes
- icomment:
Logged In: YES user_id=80530 Originator: NO When at least one of the arguments is double, the operation turns into a pow() call at the C level, so it's comparable performance to [expr {pow(...)}] minus Tcl function call overhead. When both are integer, the current implementation is an iterative one. It's worth looking for improvements, but only to the extent that the current performance isn't "fast enough". Patches welcome; otherwise I'll get to this when I get to it. - login: "dgp"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- username: "dgp"