kjn / lbzip2

Parallel bzip2 utility
GNU General Public License v3.0
132 stars 17 forks source link

"lbzcat a.bz2 > a" is much slower than "lbzcat a.bz2 >! a" #29

Open jjqq2013 opened 4 years ago

jjqq2013 commented 4 years ago

I found an interesting thing,

if a file a does already exist, then

lbzcat a.bz2 > a is much much slower than lbzcat a.bz2 >! a and rm -f a; lbzcat a.bz2 > a

Why?