Huge speed boost by reducing the number of method calls in GCode.pm
This commit is contained in:
parent
73c05a6092
commit
055273fbc8
5 changed files with 85 additions and 64 deletions
lib/Slic3r/GCode
|
@ -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)$/) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue