mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Huge speed boost by reducing the number of method calls in GCode.pm
This commit is contained in:
parent
36e5e1f933
commit
0049b02bed
5 changed files with 83 additions and 62 deletions
|
@ -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