Skip to content

Add sync pool for strings.Reader - #9016

Open
anderseknert wants to merge 1 commit into
open-policy-agent:mainfrom
anderseknert:strings-reader-pool
Open

Add sync pool for strings.Reader#9016
anderseknert wants to merge 1 commit into
open-policy-agent:mainfrom
anderseknert:strings-reader-pool

Conversation

@anderseknert

Copy link
Copy Markdown
Member

Another old change dusted off and presented as new. Makes parsing a tiny bit cheaper by reusing a reader instead of creating a new each time.

Also interning a few more common vars.

Another old change dusted off and presented as new. Makes
parsing a tiny bit cheaper by reusing a reader instead of
creating a new each time.

Also interns a few more common vars.

Signed-off-by: Anders Eknert <anders.eknert@apple.com>
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