python-hyper / hyper

HTTP/2 for Python.
http://hyper.rtfd.org/en/latest/
MIT License
1.05k stars 191 forks source link

Could you please make MAX_CHUNK configurable? #421

Open JasonShui716 opened 4 years ago

JasonShui716 commented 4 years ago

When we used the hyper lib on a ARM board with Python 3.7.3, we found that our program could run MUCH MUCH faster by increasing the MAX_CHUNK from 1024 to 1024 * 16. You can give it a default value - that's not bad, but could you please also provide it as a configurable variable so that we can config it out of the lib and earn more benefit? Thx! Hoping for your response.

JasonShui716 commented 4 years ago

@njsmith @sethmlarson Many thanks.