Re: [Rd] R_CheckUserInterrupt() can be a performance bottleneck within GUIs

2024-12-18 Thread Sokol Serguei via R-devel
Le 18/12/2024 à 13:16, Tomas Kalibera a écrit : On 12/18/24 01:19, Simon Urbanek wrote: It seems benign, but has implications since checking time is actually not a cheap operation: adding jus ta time check alone incurs a penalty of ca. 700% compared with the time it takes to call R_CheckUserI

Re: [Rd] R_CheckUserInterrupt() can be a performance bottleneck within GUIs

2024-12-18 Thread Tomas Kalibera
On 12/18/24 01:19, Simon Urbanek wrote: It seems benign, but has implications since checking time is actually not a cheap operation: adding jus ta time check alone incurs a penalty of ca. 700% compared with the time it takes to call R_CheckUserInterrupt(). Generally, it makes no sense to che

Re: [Rd] R_CheckUserInterrupt() can be a performance bottleneck within GUIs

2024-12-18 Thread Martin Maechler
> Simon Urbanek > on Wed, 18 Dec 2024 13:19:04 +1300 writes: > It seems benign, but has implications since checking time > is actually not a cheap operation: adding jus ta time > check alone incurs a penalty of ca. 700% compared with the > time it takes to call R_Check