Damien Neil wrote:
sub foo {
my Dog $spot = shift;
my $fh = IO::File-new(file);
$spot-eat_homework($fh);
}
Even with the object type declared, the compiler can make no
assumptions about whether a reference to $fh will be held or not.
Perhaps the Poodle subclass of Dog
David L. Nicol wrote:
i'm swearing off sort-by-subject. Sorry.
Damien Neil wrote:
DN {
DNmy $fh = IO::File-new("file");
DNdo_stuff($fh);
DN }
DN
DN sub do_stuff { ... }
Simon Cozens wrote:
SC No, it can't, but it can certainly put a *test* for not having
SC references there.
Dan Sugalski wrote:
DS Yes it can tell, actually--we do have the full
Why won't this work:
As I see it, we can't guarantee that DESTROYable objects will be DESTROYed
immediately when they become garbage without a full ref-counting scheme. A
full ref-counting scheme is potentially expensive.
Even full ref-counting schemes can't guarantee proper and timely
On Wed, Feb 14, 2001 at 11:26:00AM -0500, Dan Sugalski wrote:
At 11:03 AM 2/14/2001 -0500, Buddha Buck wrote:
[Truly profound amount of snippage]
I'm sure this idea has flaws. But it's an idea. Tell me what I'm missing.
You've pretty much summed up the current plan.
I have a strong
On Wed, Feb 14, 2001 at 11:38:58AM -0800, Damien Neil wrote:
sub do_stuff { ... }
{
my $fh = IO::File-new("file");
do_stuff($fh);
}
In this code, the compiler can determine that $fh has no active
references at the end of the block
No, it can't, but it can certainly put a
Simon Cozens wrote:
On Wed, Feb 14, 2001 at 11:38:58AM -0800, Damien Neil wrote:
sub do_stuff { ... }
{
my $fh = IO::File-new("file");
do_stuff($fh);
}
In this code, the compiler can determine that $fh has no active
references at the end of the block
No, it
At 05:57 PM 2/14/2001 -0300, Branden wrote:
Simon Cozens wrote:
On Wed, Feb 14, 2001 at 11:38:58AM -0800, Damien Neil wrote:
sub do_stuff { ... }
{
my $fh = IO::File-new("file");
do_stuff($fh);
}
In this code, the compiler can determine that $fh has no
At 08:59 PM 2/14/2001 +, Graham Barr wrote:
On Wed, Feb 14, 2001 at 03:38:55PM -0500, Dan Sugalski wrote:
At 08:29 PM 2/14/2001 +, Graham Barr wrote:
On Wed, Feb 14, 2001 at 03:04:40PM -0500, Dan Sugalski wrote:
At 05:57 PM 2/14/2001 -0300, Branden wrote:
Simon Cozens wrote:
On Wed, Feb 14, 2001 at 03:04:40PM -0500, Dan Sugalski wrote:
At 05:57 PM 2/14/2001 -0300, Branden wrote:
Simon Cozens wrote:
On Wed, Feb 14, 2001 at 11:38:58AM -0800, Damien Neil wrote:
sub do_stuff { ... }
{
my $fh = IO::File-new("file");
do_stuff($fh);
On Wed, Feb 14, 2001 at 03:38:55PM -0500, Dan Sugalski wrote:
At 08:29 PM 2/14/2001 +, Graham Barr wrote:
On Wed, Feb 14, 2001 at 03:04:40PM -0500, Dan Sugalski wrote:
At 05:57 PM 2/14/2001 -0300, Branden wrote:
Simon Cozens wrote:
On Wed, Feb 14, 2001 at 11:38:58AM -0800, Damien
Wednesday, February 14, 2001 12:29 PM
Subject: Re: Please shoot down this GC idea...
On Wed, Feb 14, 2001 at 03:04:40PM -0500, Dan Sugalski wrote:
At 05:57 PM 2/14/2001 -0300, Branden wrote:
Simon Cozens wrote:
On Wed, Feb 14, 2001 at 11:38:58AM -0800, Damien Neil wrote:
sub d
12 matches
Mail list logo