+
Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

Conversation

stapelberg
Copy link

The latter is just a wrapper around the former, but creating a function
on every call, which requires a memory allocation.

The latter is just a wrapper around the former, but creating a function
on every call, which requires a memory allocation.
@sorcix
Copy link
Owner

sorcix commented Jan 30, 2015

Benchmarks confirm increased performance, thanks!

sorcix pushed a commit that referenced this pull request Jan 30, 2015
Use strings.TrimFunc instead of strings.Trim.
@sorcix sorcix merged commit 9a31358 into sorcix:master Jan 30, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载