FormerLurker / ArcWelderLib

A collection of projects used to convert G0/G1 commands to G2/G3 commands.
366 stars 39 forks source link

Enahnce double to string performance #24

Closed FormerLurker closed 3 years ago

FormerLurker commented 3 years ago

About 20-25 percent of the processor's time goes to turning doubles into strings. Enhance this by modifying fpconv to produced fixed precision rounded output (similar to std::ostringstream << std::fixed << std::setprecision(x)).

Note: This has been implemented, and has cut down on processing time by around 20%!