Skip to content

Unnecessary synchronization overhead as StringBuffer is thread-safe but not needed in M3UAShellExecutor.java #354

Description

@sgurivir

RepoIQ (http://repoiq.ai) has identified potential optimization in showAs in m3ua/impl/src/main/java/org/restcomm/protocols/ss7/m3ua/impl/oam/M3UAShellExecutor.java

Using StringBuffer instead of StringBuilder for single-threaded string concatenation

Impact: Unnecessary synchronization overhead as StringBuffer is thread-safe but not needed here

Potential Solution: Replace StringBuffer with StringBuilder for better performance in single-threaded context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions