kubo39 / bossan

high performance asynchronous rack web server
Other
28 stars 5 forks source link

Add checking response body type to improve performance #16

Closed kubo39 closed 11 years ago

kubo39 commented 11 years ago

Add checking response body type to improve server's performance.

If the response body type is T_ARRAY, using Array#join, else using Enumerator#to_enum.

rnakano commented 11 years ago

Oh, too complex ... should more refactoring later.

kubo39 commented 11 years ago

Thanks a lot!