is printf shit??
1
Name:
Anonymous
2011-05-02 11:13
is printf shit??
2
Name:
Anonymous
2011-05-02 11:22
Why would it be?
3
Name:
Anonymous
2011-05-02 11:23
It is, it's bloated.
4
Name:
Anonymous
2011-05-02 11:24
yes, it is. write() is the holy grail
5
Name:
Anonymous
2011-05-02 11:31
>>3,4
You guys are fucking idiots.
6
Name:
Anonymous
2011-05-02 11:34
>>1
sprintf is the
SUPERIOR print, formatted command
7
Name:
Anonymous
2011-05-02 11:58
It is much better to use platform dependent system calls since they give you more control.
8
Name:
Anonymous
2011-05-02 13:04
>>6
http://dis.4chan.org/read/prog/1294909754/29
(recent studies revealed that the fastest printing function is vasprintf (the very accellerated sprint f))
9
Name:
Anonymous
2011-05-02 13:04
>>3,6
For fast printf() use
fprintf().
10
Name:
Anonymous
2011-05-02 16:24
Combinator Formatting is the future.
http://synthcode.com/scheme/fmt
11
Name:
nambla_dot_org_rules_you
2011-05-02 16:32
>>9
No you jew. fprintf() has just as much overhead as printf().
12
Name:
Anonymous
2011-05-02 16:36
>>10
No one cares about your toy language, son.
13
Name:
not >>10
2011-05-02 16:47
>>12
I do. Enjoy repeating the same patterns gramps while I enjoy writing code once for a code pattern and using it everywhere instead of having to slightly reinvent the wheel each time.
14
Name:
Anonymous
2011-05-02 16:51
>>11
No it doesn't, why would they call it
\`\`FAST PRINTF\'\' then?
15
Name:
Anonymous
2011-05-02 17:09
>>13
Modules/methods DO YOU KNOW THEM MOTHERFUCKER?
Never, ever re-write code. Ever.
16
Name:
Anonymous
2011-05-02 17:11
>>14
'f' doesn't stand for fast you dumb jew.
17
Name:
Anonymous
2011-05-02 17:12
18
Name:
Anonymous
2011-05-02 18:24
>>9
Why use fprintf when you can use vfprintf (very fast printf)?
But be careful not to use vsprintf, it's very slow.
19
Name:
Anonymous
2011-05-02 18:32
>>18
I use vafprintf (very accelerated fast print).
20
Name:
Anonymous
2011-05-02 20:35
Fast and furious - fast printf
/ ̄∧_∧ ̄ ̄ ̄ // ̄\\
__ ⊂/__(´∀` )__ /_⊃___| |\フ ヽ CFLAGS JUST KICKED
, ´_ / / ̄ ̄ __ / ̄ ヽ __ヽ ̄ ̄ | IN, YO!
/∠__/―/-。―/――∠_/__∧ | | ∧_.|
,========――´=============/⌒ヽ=|.=====| | ヽ ̄〕
| _ |GENTOO| _ ″ |⌒| |/ __ /| )ノ vroom
)_旧_∈≡≡≡≡∋_旧_″_|| ノ丿_ -――┘ 丿 vroom!
\ \_ノ  ̄ ̄ ̄三三三\ \_ノ 三三三三
三三三三三三三三三三三三三三三三三三三三三三三三
三三三三三三三三三三三三三三三三三三三三三三三
三三三三三三三三三三三三三三三三三三三三三三三三三三
三三三三三三三三三三三三三三三三三三
三三三三三三三三三三三
21
Name:
Anonymous
2011-05-02 20:38
sprintf is the fastest C command known to man
22
Name:
Anonymous
2011-05-02 21:17
puts()
23
Name:
Anonymous
2011-05-03 9:51
>>22
beat me to the punch.
24
Name:
Anonymous
2011-05-03 10:14
puts() isn't ENTERPRISE enough.
25
Name:
Anonymous
2011-05-03 10:23
>>22,23
It's still slower than
fputs which in turn is much slower than
vasprintf.
26
Name:
Anonymous
2011-05-03 10:46
>>22-25
SAMEFAG!
MOTHERFUCKING SAMEFAGGING RIGHT HERE
EVERYONE COME SEE! LOOK! IT'S SAMEFAGGING IN ACTION!
27
Name:
Anonymous
2011-05-03 11:14
>>26
You're terrible at spotting posts created by a single author.
28
Name:
Anonymous
2011-05-03 14:57
29
Name:
Anonymous
2011-05-03 20:43
I wrote my own SSE accelerated vasprintf. It's nearly 3x as fast the equivalent C version!
30
Name:
Anonymous
2011-05-03 22:35
i wrote my one print function that runs in O(1) time!