[perl6/specs] 281d8f: Mention handling circular references in .perl

2014-09-21 Thread GitHub
: M S02-bits.pod Log Message: --- Mention handling circular references in .perl

Re: Circular references

2001-08-01 Thread Buddha Buck
each (@nodes) { $graph{$_} = [] } while (@edges) { my $source = shift @edges; my $dest = shift @edges; push @$graph{$source},$graph{$dest}; } } In this horrid little data structure, every reference of interest is a reference to arrays of references, all of which are parts of circular

Re: Circular references

2001-08-01 Thread Dan Sugalski
At 03:18 PM 8/1/2001 -0400, Buddha Buck wrote: >At 01:01 PM 08-01-2001 -0600, Sterin, Ilya wrote: >>I was just wondering if there will be any solution for the circular >>refernece memory leak (I guess you can call it a problem). Can't we keep >>information on the number

RE: Circular references

2001-08-01 Thread Sterin, Ilya
Wednesday, August 01, 2001 3:39 PM > To: 'Buddha Buck '; ''[EMAIL PROTECTED]' ' > Subject: RE: Circular references > > > Did really think about that:) > But off the top of my head... > > This is only a guess, but > > my $a; > $a = \$a; &g

RE: Circular references

2001-08-01 Thread Sterin, Ilya
-Original Message- From: David L. Nicol To: Buddha Buck Cc: Sterin, Ilya; '[EMAIL PROTECTED]' Sent: 08/01/2001 1:12 PM Subject: Re: Circular references Buddha Buck wrote: > > At 01:01 PM 08-01-2001 -0600, Sterin, Ilya wrote: > > Can't we keep > >info

RE: Circular references

2001-08-01 Thread Sterin, Ilya
n might be wrong too:) But as Dan said, GC will take care of that. I know that I've read somewhere before that Python keeps track of it's circular references, so I was sure there was a way of doing this, just not exactly sure how it was implemented. Ilya -Original Message- Fr

Re: Circular references

2001-08-01 Thread Buddha Buck
At 01:01 PM 08-01-2001 -0600, Sterin, Ilya wrote: >I was just wondering if there will be any solution for the circular >refernece memory leak (I guess you can call it a problem). Can't we keep >information on the number of circular references in the SV structure and >t

Re: Circular references

2001-08-01 Thread Dan Sugalski
At 01:01 PM 8/1/2001 -0600, Sterin, Ilya wrote: >I was just wondering if there will be any solution for the circular >refernece memory leak (I guess you can call it a problem). Can't we keep >information on the number of circular references in the SV structure and >then decreme

Circular references

2001-08-01 Thread Sterin, Ilya
I was just wondering if there will be any solution for the circular refernece memory leak (I guess you can call it a problem). Can't we keep information on the number of circular references in the SV structure and then decrement the references count by one + the circular reference count a