2024-12-20

B+TreeにIListの皮をかぶせてテキストエディターでよく使うバッファー周りを書いてみた。

https://github.com/rirufa/FooList

core i5 10400Fでのベンチマーク結果だが、

benchmark start

add time:388 ms

replace1 time:15976 ms

replace2 time:16992 ms

add:"this is a pen.this is a pen.this is a pen.this is a pen.this is a pen.this is a pen."を10万行追加

replace1:penをcatに置き換え

replace2:catをratkingに置き換え

ぐらいで、秀丸にも歯が立たない

B+TreeListではこんなもの

記事への反応(ブックマークコメント)

ログイン ユーザー登録
ようこそ ゲスト さん