Skip to content
Tcl Source Code View Ticket
Login

View Ticket

add info about {-$n} vs {$n * -1} performance into expr.n

Closed / Wont Fixfa5e5add02eeaff3a44b261f2c7d42b76d6ad1a5Created 5 years agoUpdated 5 years ago
Descriptionplain2021-08-30 14:04:56
There is no info in man page of expr about performance {-$n} vs {$n * -1}. IMHO, this would be useful to have this info in the man page.

The patch add this info into PERFOMANCE CONSIDERATIONS section.

Discussion is here:
https://groups.google.com/g/comp.lang.tcl/c/OBRuz6kDb4w
jan.nijtmanswiki2021-08-31 09:55:19

The referenced discussion in comp.lang.tcl indicates (which I agree) that it is not useful to put such detailed info in the man-page. Sorry, Oleg!

anonymousplain2021-08-31 10:49:32
Ok. No problem :-).
Log in (anonymous is fine) to add a comment.