send_to_char is functionally similar to strcat, so I don't know that you're 
going to be saving any measurable cpu time by concatenating a bunch of 
strings together before sending them to send_to_char.  The printf family 
obviously has some performance hit, but it's actually written very well, and 
I doubt that it would make a noticable difference.

You should really look into getting chprintf, so that could be reduced to:
  chprintf(ch, "first line ");
  chprintf(ch, "second line ");
...
This makes code much cleaner and more managable, which is personally my 
biggest concern.

--Palrich.

> I was wondering, however, if calling send_to_char many consecutive times
> like that is inefficient. Is there a considerable difference between
> sending 10 or so lines, one at a time, and sending them as a big, single
> line?


Reply via email to