OSDN Git Service

RemoveRangeの0埋めは不要なのでコメントアウトした
authorkonekoneko <test2214@hotmail.co.jp>
Thu, 9 Jul 2015 03:39:59 +0000 (12:39 +0900)
committerkonekoneko <test2214@hotmail.co.jp>
Thu, 9 Jul 2015 03:39:59 +0000 (12:39 +0900)
Common/GapBuffer.cs

index ed4a972..6c644ae 100644 (file)
@@ -629,7 +629,7 @@ namespace Slusser.Collections.Generic
                        if (count > 0)
                        {
                                PlaceGapStart(index);
-                               Array.Clear(this._buffer, this._gapEnd, count);
+                               //Array.Clear(this._buffer, this._gapEnd, count);
                                this._gapEnd += count;
                                this._version++;
                        }