Massive reduction of memory usage (down to one third).

This commit is contained in:
Alessandro Ranellucci committed 2012-05-19 17:57:38 +02:00
1 parent 882a022e3a
commit b246480535
10 files changed
+75 -31

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ sub shortest_path {
my ($start_near) = @_;
my @my_paths = @{$self->paths};
$_->deserialize for @my_paths;
my @paths = ();
my $start_at;
CYCLE: while (@my_paths) {