4 ms·
That's neat, I didn't realize that you could just type 'php file' to run things. Thanks for that. My Core Duo MacBook gave the following results: Inserting
by watmough 15y ago
That's neat, I didn't realize that you could just type 'php file' to run things. Thanks for that.
My Core Duo MacBook gave the following results:
Inserting 32768 evil elements took 19.348465919495 seconds
Inserting 32768 good elements took 0.0174241065979 seconds
And running from the command-line for the full 2^16:
Inserting 65536 evil elements took 123.00568199158 seconds
Inserting 65536 good elements took 0.038620948791504 seconds
I'm running php 5.3.6, which is the current default version on 10.6.8 I believe.
- tcas 15y agoRunning php -a will give you an interactive shell as well, however, if you do a lot of php development phpsh http://www.phpsh.org/ http://www.phpsh.org/ is a lot more feature rich and can be a huge timesaver.
- watmough 15y agoI think my development experience in php is up to maybe 15 - 20 lines or so now... Thanks for the pointer!