2025-02-04

http://hvivi.dyndns.org/sse/replaceAll.html

さくさくエディタのまねをして全置換えでベンチマークを取ってみた。

benchmark start

Allocated GC Memory:60,392bytes

add time:1996 ms

Allocated GC Memory:440,048,840bytes

replace time:10779 ms

Allocated GC Memory:440,082,632bytes

replace time:10682 ms

Allocated GC Memory:440,082,656bytes

clear buffer

Allocated GC Memory:82,280bytes

Finished.Hit Any Key

ベンチマークソースコード

https://github.com/rirufa/FooList

Rope<T>は削除と置き換え、文字列ランダムアクセスがO(log N)なのでさくさくエディタに比べると遅い。

それでも秀丸Meryよりは早いが…

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

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

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy