Skip to content

memory improvement of the print.cpp lib #193

@RobTillaart

Description

@RobTillaart

Many functions in the print.cpp lib use a int base as second argument. As bases above 255 are never seen all these params can be brought back to uint8_t base.

Furthermore the #digits for the printing of floats can also be an uint8_t

When testing a sketch it uses 14 bytes less (from 2006 bytes to 1992 bytes)

As print is a base class for several other classes this adds up.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions