cvsps.c: speedup blob dumping by using block-size I/O
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 9 Jan 2013 09:56:58 +0000 (12:56 +0300)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 9 Jan 2013 15:46:29 +0000 (10:46 -0500)
commitfc12fdf7b928bfd5f2b2ab47b11803d67b9736ff
treeb76e04bf7bec91f51394e8666e97074d3b0bb868
parentc4b06934ede0ad50b4d88c6d7cc0bf86bc9ebb39
cvsps.c: speedup blob dumping by using block-size I/O

Patch reduces libc overhead:
  around 20% CPU time is wasted by fgetc()/putchar()
  before the patch according to perf.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
cvsps.c