Are there benchmarks for this claim? Either method works just as fast for me:

Code:
alias benchfwrite { .fopen -o x test.txt | .fwrite -n x Hello world | .fclose x }
alias benchwrite { write test.txt Hello world }

; Commands:
; /bench 1000 benchfwrite
; /bench 1000 benchwrite
;
; Results:

Command completed in 156 ticks (0.156 avg over 1000 runs): 1000 benchfwrite
Command completed in 187 ticks (0.187 avg over 1000 runs): 1000 benchwrite
Command completed in 250 ticks (0.25 avg over 1000 runs): 1000 benchfwrite
Command completed in 203 ticks (0.203 avg over 1000 runs): 1000 benchwrite
Command completed in 203 ticks (0.203 avg over 1000 runs): 1000 benchfwrite
Command completed in 203 ticks (0.203 avg over 1000 runs): 1000 benchwrite


Perhaps you meant "simpler"? /write is certainly simpler, no denying that.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"