在 linux 上用 #avfs 存取壓縮檔一段時間了,今天發現在 avfs 中用 cat 的速度會比 dd pv wc 慢超級多。
```term
~/.avfs/home/gholk/ram/boot.zip# $ time wc -c boot.img
100663296 boot.img
real 0m0.481s
user 0m0.001s
sys 0m0.023s
~/.avfs/home/gholk/ram/boot.zip# $ time cat boot.img | wc -c
100663296
real 0m11.430s
user 0m0.008s
sys 0m0.143s
~/.avfs/home/gholk/ram/boot.zip# $ time dd if=boot.img | wc -c
100663296
real 0m0.856s
user 0m0.407s
sys 0m0.906s
```