Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Optimized most used Mojo::Header methods
> perl -Mojo -e'my $h=Mojo::Headers->new; n { $h->content_type("foo") } 2000000' 3.54158 wallclock secs ( 3.54 usr + 0.00 sys = 3.54 CPU) @ 564971.75/s (n=2000000) < perl -Mojo -e'my $h=Mojo::Headers->new; n { $h->content_type("foo") } 2000000' 3.63856 wallclock secs ( 3.64 usr + 0.00 sys = 3.64 CPU) @ 549450.55/s (n=2000000)
- Loading branch information