digitalmars.D.learn - gap buffer in D2
- BLS <windevguy hotmail.de> Nov 04 2009
- Spacen Jasset <spacenjasset yahoo.co.uk> Nov 04 2009
- BLS <windevguy hotmail.de> Nov 04 2009
- Spacen Jasset <spacenjasset yahoo.co.uk> Nov 06 2009
- Spacen Jasset <spacenjasset yahoo.co.uk> Nov 06 2009
yep, mean it... has somebody done it before...to me it seems to be not as trivial as it looks on the very first view. (speed matters)
Nov 04 2009
BLS wrote:yep, mean it... has somebody done it before...to me it seems to be not as trivial as it looks on the very first view. (speed matters)
able to find the code. It might not be pretty I can't remember.
Nov 04 2009
On 05/11/2009 01:04, Spacen Jasset wrote:BLS wrote:yep, mean it... has somebody done it before...to me it seems to be not as trivial as it looks on the very first view. (speed matters)
able to find the code. It might not be pretty I can't remember.
YEP,would be nice to have a look. thanks! would be interesting to have a 2 gaps buffer for beyond-end insert (append)
Nov 04 2009
BLS wrote:On 05/11/2009 01:04, Spacen Jasset wrote:BLS wrote:yep, mean it... has somebody done it before...to me it seems to be not as trivial as it looks on the very first view. (speed matters)
able to find the code. It might not be pretty I can't remember.
YEP,would be nice to have a look. thanks! would be interesting to have a 2 gaps buffer for beyond-end insert (append)
end at the same time/alternately. I can't quite remember why I have this gap buffer. I do remember that I was going to have some sort of linked list of gap buffers for editing large files. The code should work. It's used in an old hex editor which works ok. http://dl.dropbox.com/u/731271/GapBuffer/GapBuffer.C and http://dl.dropbox.com/u/731271/GapBuffer/GapBuffer.h
Nov 06 2009
Spacen Jasset wrote:BLS wrote:On 05/11/2009 01:04, Spacen Jasset wrote:BLS wrote:yep, mean it... has somebody done it before...to me it seems to be not as trivial as it looks on the very first view. (speed matters)
able to find the code. It might not be pretty I can't remember.
YEP,would be nice to have a look. thanks! would be interesting to have a 2 gaps buffer for beyond-end insert (append)
end at the same time/alternately. I can't quite remember why I have this gap buffer. I do remember that I was going to have some sort of linked list of gap buffers for editing large files. The code should work. It's used in an old hex editor which works ok. http://dl.dropbox.com/u/731271/GapBuffer/GapBuffer.C and http://dl.dropbox.com/u/731271/GapBuffer/GapBuffer.h
required at least, rather than the for loops.
Nov 06 2009








Spacen Jasset <spacenjasset yahoo.co.uk>