diff options
author | Helmut Grohne <helmut@subdivi.de> | 2021-12-29 20:56:03 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2021-12-29 20:56:03 +0100 |
commit | e118de84d60e6f0d7662dcbb6aa362f452dda6ba (patch) | |
tree | cf74481b2ed70291ff3fa190cf053a0798bc51b2 /dedup | |
parent | c7615fcb537f547da3068d3e489437e70db58447 (diff) | |
download | debian-dedup-e118de84d60e6f0d7662dcbb6aa362f452dda6ba.tar.gz |
webapp: improve performance
html_response expects a str-generator, but when we call the render
method, we receive a plain str. It can be iterated - one character at a
time. That's what encode_and_buffer will do in this case. So better
stream all the time.
Diffstat (limited to 'dedup')
0 files changed, 0 insertions, 0 deletions