Skip to content

Replace the string concatenation in the monitor command line construction #844

Description

@cmainas

In the vast majority of urunc's monitor support, we make use of inefficient string concatenation. In particular the pattern cli += " option" is very common. While this patter is easy to read, it is inefficient and at the end we do not really need a big long string for the cli options of each monitor. Instead we need a slice of strings where each string is one option. Therefore, we need to update the construction of cli options in all monitors and use a much more efficient way.

Metadata

Metadata

Assignees

Labels

MonitorsMonitors and their executionenhancementNew feature or request

Type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions