Skip to content

user + instead of String.format() #17

Description

@nitincchauhan

Interesting benchmark chart !
Could not resist to look at source :)

The low hanging fruit is to replace calls to String.format() with plain + operator of sting all over.
eg https://github.com/json-iterator/java/blob/master/src/main/java/com/jsoniter/CodegenImplObject.java#L123

I think the effort would be worth measurable gain at little readability cost :)

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