summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCrypt
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-07-19 23:12:28 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-07-20 11:55:42 +0430
commit31840866798a1e369e9824689c46d9e7ee0e7dbd (patch)
tree71a9c0c78068fc9029adea9aba438f93a2803faa /Userland/Libraries/LibCrypt
parent0f6654fef289421bafaacbae1aa5c04bf8292bd8 (diff)
downloadserenity-31840866798a1e369e9824689c46d9e7ee0e7dbd.zip
LibLine: Avoid excessive write() syscalls when refreshing the display
Previously, we were generating the display update one character at a time, and writing them one at a time to stderr, which is not buffered, doing so caused one syscall per character printed which is s l o w (TM) This commit makes LibLine write the update contents into a buffer, and flush it after all the update is generated :^)
Diffstat (limited to 'Userland/Libraries/LibCrypt')
0 files changed, 0 insertions, 0 deletions