看板 Ruby 關於我們 聯絡資訊
※ 引述《Morishita (千倉雲)》之銘言: : 請問ruby怎麼在windows下得到folder的大小呢? If you right-click on a large Windows folder such as My Documents and select Properties (in XP at any rate) you can see the system recursing through and adding up the number of bytes. In theory this figure could be made available instantly if the system kept track of what was going on in each folder. But presumably that would slow things down (more) -- 請問郭女俠第三根手指要差哪裡 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.168.237.42
ducksteven:純推不下 看不懂 orz 04/16 10:08
godfat:大意就是一定要用算的,用記的會在其他地方變慢太多 04/16 10:51