Whoa there!
AppleScript is very efficient once it is running. You just need to do enough "work" in the script to compensate for the instantiation cost.
Silly example time!
Here's a KM routine:
...that you can do in AS. The "silly" way to do so would be to do a KM "Repeat" that used AS to increment-by-one:
The "smart" way is to do the incrementing within a single AS action:
...and on my machine:
KM and AS Loops.kmmacros (13.8 KB)
All that is moot, of course -- @skillet's already in an AppleScript doing the work so the instantiation cost has been paid.