bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

overhead of _nc_tiparm


From: Pavel Stehule
Subject: overhead of _nc_tiparm
Date: Thu, 5 Jan 2023 09:34:59 +0100

Hi

I am working on a pspg pager https://github.com/okbob/pspg/. Although I did some optimializations, there is a flickering when there are a lot of redraws (after mouse events processing). Last month I was working on a port on pdcurses for possible support mswin platform.

When I did tests with pspg compiled with pdcurses I didn't find flickering. I know so pdcurses is more primitive than ncurses and it has reduced functionality, but the difference is significant.

I tried to run profiler and I see about 10% cpu time in function _nc_tiparm

It is strange, because this function has a varargs interface so it cannot be too fast.

Is it a known issue?

Regards

Pavel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]