Open MPI logo

MTT Devel Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all MTT Devel mailing list

From: Ethan Mallove (ethan.mallove_at_[hidden])
Date: 2007-10-23 16:12:11


Open question: does MTT make good use of Perl's garbage
collector? E.g., is this good or bad Perl?

  use Foo;
  my bar;

  sub baz {
    my $bar = new Foo;
    ...
  }
  &Foo::baz();
  &Foo::baz();
  &Foo::baz();
  ...

When, if ever, is it best to reclaim memory using DESTROY?

-Ethan