Browse Source
Before this commit, HttpStatus::resolve used the values() method in its logic. This causes a new array to be allocated for each invocation, and results in memory overhead. This commit makes a copy of the HttpStatus values array, and uses that to resolve status codes. Closes gh-26842pull/26850/head
Arjen Poutsma
4 years ago
1 changed files with 10 additions and 2 deletions
Loading…
Reference in new issue