포럼: 公開討議 (Thread #35954)

mark多用時の速度低下対策 (2014-09-08 22:28 by Tomo #74347)

Azuki-1.7.9を使わせていただいております。

サイズの大きなテキスト(数千行程度)に対してmarkを多用すると、
表示/編集共に顕著な速度低下がみられたので、原因の切り分けを行ったところ、

RleArray<uint> TextBuffer._MarkingBitMasks
が原因であるようで、これをList<unit>を使った実装に変更し、
List<uint> TextBuffer._MarkingBitMasks
とすることで大幅に高速に動作するようになりました。

メモリ量にもよるかとは思いますが、ご報告まで。

Reply to #74347×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: mark多用時の速度低下対策 (2014-10-09 09:30 by SEBFM #74559)

とても参考になりました。
ありがとうございます。
Reply to #74347

Reply to #74559×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login