Menu

#24 Read/redraw balancing

open
5
2001-09-27
2001-09-27
Darren Salt
No

This patch attempts to fetch more data between polls
in order to try to strike some sort of balance between
socket reading and terminal redrawing.

The read loop is terminated on expiration of a time
limit or there being no more data (however, all
sessions' sockets are checked the same number of
times).

Discussion

  • Darren Salt

    Darren Salt - 2001-09-27

    Socket polling timer patch

     
  • Darren Salt

    Darren Salt - 2001-10-06

    Buffering speedups

     
  • Darren Salt

    Darren Salt - 2001-10-06

    Logged In: YES
    user_id=294680

    The replacement patch provides faster throughput of both
    incoming text (larger receive buffer - perhaps this should
    be configurable?) and outgoing keypresses and pasted text
    (by calling the null poll code immediately after processing
    a key, rather than waiting for the next null poll).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.