Skip to content

feat: improved ReplacePlaceholders performance#396

Open
nenavizhuleto wants to merge 2 commits intoMasterminds:masterfrom
nenavizhuleto:master
Open

feat: improved ReplacePlaceholders performance#396
nenavizhuleto wants to merge 2 commits intoMasterminds:masterfrom
nenavizhuleto:master

Conversation

@nenavizhuleto
Copy link

Changed use of fmt.Fprintf to strconv.Itoa

  1. Perfomance increase by a factor of 3 (from ~150ns/op to ~50ns/op)
  2. Cut allocations by half (from 4 to 2)

Changed use of fmt.Fprintf to strconv.Itoa
1. Perfomance increase by a factor of 3 (from ~150ns/op to ~50ns/op)
2. Cut allocations by half (from 4 to 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant