Re: [libxml-devel] Memory changes, tests needed

2007-08-30 Thread Ross Bamford
On Wed, 29 Aug 2007 01:36:00 +0100, Dan Janowski <[EMAIL PROTECTED]> wrote: > Hi all, > > I am going to go out on a limb and say, tentatively, that my new > approach to memory management is working. It is so far only applied > to the ruby side of tree.c functions (ruby_xml_node...). My simple > ex

Re: [libxml-devel] Memory changes, tests needed

2007-08-29 Thread Tom Hughes
In message <[EMAIL PROTECTED]> Dan Janowski <[EMAIL PROTECTED]> wrote: > This is now memory stable. The script completes using only 15MB. Excellent. Incidentally, now people are actively working on the wrapper again you might want to look at my other patch which is a simple one that fi

Re: [libxml-devel] Memory changes, tests needed

2007-08-29 Thread Dan Janowski
Tom, This is now memory stable. The script completes using only 15MB. On Aug 29, 2007, at 04:01, Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > Dan Janowski <[EMAIL PROTECTED]> wrote: > >> What I need now is a few concise examples that have blown up >> previously. I am particularly

Re: [libxml-devel] Memory changes, tests needed

2007-08-29 Thread Tom Hughes
In message <[EMAIL PROTECTED]> Dan Janowski <[EMAIL PROTECTED]> wrote: > What I need now is a few concise examples that have blown up > previously. I am particularly looking for ones that just use the node > operations. Attached is roughly the test case I was using when I was working

Re: [libxml-devel] Memory changes, tests needed

2007-08-28 Thread Marc Munro
Dan, Here is something, not strictly memory related, that doesn't work right now, that probably should: class XML::Node attr_reader :extra attr_writer :extra end parent = XML::Node.new('parent') child = XML::Node.new('child') parent.extra = 'wibble' parent.child = child puts parent.extra

Re: [libxml-devel] Memory changes, tests needed

2007-08-28 Thread Charlie Savage
Sounds like great work Dan. Since this is so tricky, can you be sure to write up what you've done? Maybe add it in as a Readme file in the source tree, or perhaps directly as comments in the code? Charlie smime.p7s Description: S/MIME Cryptographic Signature

[libxml-devel] Memory changes, tests needed

2007-08-28 Thread Dan Janowski
Hi all, I am going to go out on a limb and say, tentatively, that my new approach to memory management is working. It is so far only applied to the ruby side of tree.c functions (ruby_xml_node...). My simple example of creating the same document 1M times, loosing references to the priors a