Skip to content
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.

Prefer using string slices over owned Strings #1

Closed
Stebalien opened this issue Jun 14, 2016 · 1 comment
Closed

Prefer using string slices over owned Strings #1

Stebalien opened this issue Jun 14, 2016 · 1 comment

Comments

@Stebalien
Copy link

The API often asks for owned String objects when a string slice (&str) would suffice. Accepting string slices will significantly reduce allocations.

GildedHonour pushed a commit that referenced this issue Jun 15, 2016
@GildedHonour
Copy link
Owner

@Stebalien thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants