
18 Aug
2012
18 Aug
'12
8:55 a.m.
Hello Aristid,
So, two questions:
1. Is this a bottleneck just in your small benchmark, or do you think this would affect other use-cases too? To see how worth it is to break compatibility.
This effects if we want to implement a really fast HTTP server like nginx. Otherwise, this does not matter.
2. Have you tried caching the rendered status codes in an array or so? That might be another way of speeding this up without changing the Status type.
I will try the array approach in the next week. If that is fast enough and http-types includes the array, it would be very appreciated. --Kazu
4658
Age (days ago)
4658
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kazu Yamamoto