It's been awhile for me (and I apologize). As the original author of the
memory buffer implementation I think your approach is the smart way to do it on
current computers. When I implemented it originally, I did try an exponential
approach and it crushed my computer at the time so opted for
Been a while since I've committed anything to the plplot repo, so I wanted
to check in before I did anything.
I just wanted to push a change to buffer growth, so that it grows
exponentially rather than linearly (doubles every time it needs to grow). I
have some rather large data being plotted by