note 72438 deleted from language.operators.assignment by bjori
| From: | bjori@php.net | Date: | Sat, 21 Apr 2007 08:12:03 +0000 |
| Subject: | note 72438 deleted from language.operators.assignment by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125747@lists.php.net to get a copy of this message | ||
Note Submitter: umbrae at gmail dot com
----
@jeronimo
I don't know why you'd ever want to do that though - you save two lines of code but you
have to create a list, create an array, and then junk them at the end. It's a waste of CPU
time, and my computations show that it's almost twice as slow as just doing a regular swap.
(0.004088 versus 0.008747, 10000 times)
I know it's a major nitpick, but to save one line of code it seems like a waste of time. (No
pun intended)