Huge speed boost by reducing the number of method calls in GCode.pm

This commit is contained in:
Alessandro Ranellucci committed 2013-08-28 20:38:22 +02:00
1 parent 73c05a6092
commit 055273fbc8
5 files changed
+85 -64

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ sub parse {
}
# run callback
#$cb->($self, $command, \%args, \%info);
$cb->($self, $command, \%args, \%info);
# update coordinates
if ($command =~ /^(?:G[01]|G92)$/) {