Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Consider changing the header value to a value type that is either a single string or a string array #240

Closed
davidfowl opened this issue Mar 30, 2015 · 2 comments

Comments

@davidfowl
Copy link
Member

Many of the headers are a single string value but we pay the cost of allocating an array in all of our APIs when setting a headers. We can avoid this by making the feature interface a value type what represents either a string or string[].

/cc @lodejard

@davidfowl
Copy link
Member Author

On top of this, we should enumerate the set of known headers and optimize the setting/getting of them.

@Tratcher Tratcher added this to the 1.0.0-beta7 milestone Jun 29, 2015
@davidfowl davidfowl removed their assignment Aug 17, 2015
@davidfowl davidfowl removed this from the 1.0.0-beta7 milestone Aug 17, 2015
@davidfowl
Copy link
Member Author

Closing this as dupe of #361

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

3 participants