diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-05-29 16:18:18 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-05-29 16:18:18 +0100 |
commit | faf9b9d9196285d42bb106426b77e84baf3bfd6e (patch) | |
tree | 85048a826648a815b5fdf6bbd900f84004ea0783 /framebuffer | |
parent | 4324bf535f4e65561bd48d78032edd4455f1579a (diff) | |
download | netsurf-faf9b9d9196285d42bb106426b77e84baf3bfd6e.tar.gz netsurf-faf9b9d9196285d42bb106426b77e84baf3bfd6e.tar.bz2 |
Improve logging interface to reduce overhead
This reduces logging overhead by only calling the log output function
once instead of three times.
Additionally the nslog_gettime interface no longer needs to be
exported and the static function is directly inlined further reducing
function call overhead.
Finally the appending of a newline uses fputc instead of a full printf
call which is considerably more simple and further reduces overhead
time.
Diffstat (limited to 'framebuffer')
0 files changed, 0 insertions, 0 deletions