Overview
| Comment: | [bug/stable fix] don't execute TimerSetupProc directly (may be unwanted, because changes the blocking time, also if TCL_TIMER_EVENTS|TCL_IDLE_EVENTS not set), so let do that within Tcl_DoOneEvent cycle only (we have registered an event source). [performance] optimization for "after 0" as immediately execution without time (invoke as soon as possible) - generation and invocation of such timers twice faster now. [performance] leave handler-event in the queue as long as pending timers still available (with expired time or immediate timers) by generation lock, resp. changed/not invalidated timer-queue) - so fewer event/allocations and guarantee to be executed within the next event cycle; |
|---|---|
| Timelines: | family | ancestors | descendants | both | sebres-8-5-event-perf-branch |
| Files: | files | file ages | folders |
| SHA1: |
6ff3d675ef8723457cc6208b8c591540 |
| User & Date: | sebres on 2017-07-03 13:23:20.870 |
| Other Links: | branch diff | manifest | tags |
Context
|
2017-07-03
| ||
| 13:23 | bug fix: wrong release of after-id tcl-object if it switch type (object leak) check-in: 43f79790a3 user: sebres tags: sebres-8-5-event-perf-branch | |
| 13:23 | [bug/stable fix] don't execute TimerSetupProc directly (may be unwanted, because changes the blockin... check-in: 6ff3d675ef user: sebres tags: sebres-8-5-event-perf-branch | |
| 13:22 | after-id: introduced object of type "afterObjType" as self-referenced weak pointer to timer/idle eve... check-in: b7f3dfa629 user: sebres tags: sebres-8-5-event-perf-branch | |
Changes
Modified generic/tclTimer.c
from [78e3866956]
to [22e3a8cb3c].
[diff]