:
M S02-bits.pod
Log Message:
---
Mention handling circular references in .perl
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
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
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
-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
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
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
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
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