Once upon a time, Bernardo Innocenti bernie@develer.com said:
Hmmm! So termcap also has algoritmic disadvantages that outweight its smaller size relative to ncurses.
Remember though that /bin/sh (aka bash) has many uses that are non-interactive and don't ever look up a termcap/terminfo entry (probably many more such uses than interactive). The lookup slowdown probably does not outweigh any dynamic linking slowdown or memory overhead.