Wintellect.PowerCollections.BigListくそ早いな。
100万行×100文字追加して、3文字削除の3文字挿入、3文字削除の4文字挿入やったが、xyzzyぐらいの速度は出た。
ただ、さくさくエディタには勝てんな。
BigListの内部で使われてるRopeの性質なので仕方ないか。
benchmark startAllocatedGC Memory:60,616addtime:1370msAllocatedGC Memory:344,041,272replacetime:6541msAllocatedGC Memory:344,101,024replacetime:8153msAllocatedGC Memory:688,101,192clear bufferAllocatedGC Memory:100,808Finished.HitAnyKey
benchmark start
AllocatedGC Memory:60,616
addtime:1370ms
AllocatedGC Memory:344,041,272
replacetime:6541ms
AllocatedGC Memory:344,101,024
replacetime:8153ms
AllocatedGC Memory:688,101,192
clear buffer
AllocatedGC Memory:100,808
Finished.HitAnyKey
Permalink |記事への反応(1) | 22:35
ツイートシェア
ふぎゃー。 イテレーターがくそ遅いことに気づいた。 あとで治すか。