Why typing GIFs are usually bigger than they should be
Most typing GIF generators animate at a fixed frame rate, commonly 10 or 20 frames per second, and reveal a character every few frames. At 20fps with a character every third frame, two of every three frames are byte-for-byte identical to the one before. The animation looks right and the file is roughly three times the size it needs to be.
Encoding a character per frame removes that entirely. A forty-character line is forty frames, and the delay on each one is your typing speed. The ceiling is the format itself: a frame cannot be shorter than 20ms, so 50 characters per second is as fast as any GIF can type.