<i>Exploding runtime with growing list of after idle events</i> status still Open with 3 other changes
by
.
D 2017-06-30T08:11:04.473
J icomment I\sfinished\smy\srebase\s(currently\sfor\s8.5\sonly,\scan\sbe\sreintegrated\shigher),\sand\splaced\sit\son\smy\sgithub\s<a\shref="https://github.com/sebres/tcl/pull/4">sebres/tcl#4</a>\sas\sinterim\sartificial\sPR\s(squashed).\r\n\r\nThis\sis\salthough\sa\sbiggish\sRFE,\swhere\sall\schanges\stogether\smakes\ssense\sonly\s(of\scourse\ssome\sthings\scan\sbe\schanged/reverted),\sbut\sbasically\sas\sultimate\sonly...\r\n\r\nBTW\sthis\salso\sfully\simplements\s<a\shref="http://www.tcl.tk/cgi-bin/tct/tip/302.html">TIP\s#302</a>\sand\smany\smany\sother\sthings,\salways\sbothering\sme.\r\n\r\nI\swould\slike\sto\smake\sa\sdecent\srebase\sto\sfossil\swith\scommit-history\sand\sreview\s(because\sbackported\sfrom\smy\sown\sfork,\sthat\sis\smuch\smore\ssophisticated\sand\svery\smuch\sfurther\sdeveloped\sas\sstandard\stcl-core).\sAnd\sthen\smerge\sit\sto\s8.6/trunk\sbranches.\sCurrently\sall\stest-cases\spasses\son\smy\sunix/windows\ssystems.\r\n\r\nBut\sfirstly\sI\swould\slike\sknow\sif\sthis\sis\simaginable\sto\sbe\sa\spart\sof\score\sat\sall?\s\r\nJust\sbecause\sI\salready\sinvested\shere\stoo\smany\stime\sand\seffort\sby\sthe\sback-porting\s(not\sto\smention\sthe\sdevelopment).\sSo\sI\swould\savoid\smore\seffort\son\smy\spart,\sif\sit\swould\smeet\sagain\son\slack\sof\sunderstanding\sof\sthe\sTCT\s(basically\sI\shave\sjust\sno\stime\sto\swork\sfor\sthe\srecycle-bin)...\r\n\r\nWhat's\sabout\sthis\simplementation\sof\sTIP\s#302\s(and\smonotonic\sbased\stime-handling):\r\n-\son\sall\smy\ssystems\s(many\sprojects,\ssome\sof\sthem\svery\svery\slarge)\sit\sworked\sa\slong\stime\s(several\syears)\swithout\sany\sproblem.\r\n-\sin\sall\sof\sthis\sprojects\sonly\sfew\slines\swere\schanged\sfrom\s"<code>after\s$startOffset\s...</code>"\sto\s"<code>after\sat\s$startTime\s...</code>"\s(was\soriginally\snamed\s"<code>after\s-term</code>").\r\nBut\sthis\schanges\swere\snot\sreally\snecessary,\sbecause\salmost\sall\sthe\stime-jumps\sare\sshort\sadjustments\sof\sNTP-service\sand\sin\sthe\sworse\scase\ssome\s"cron"\stask\swith\sabsolute\stime\swill\sbe\sexecuted\sjust\sfew\sseconds\slater\sas\sexpected.\sBut\sin\sthe\smost\scases\sthe\sdue-time\sis\sanyway\slong\sinterval.\r\nIn\smy\sopinion\sexactly\svery\sshort\sintervals\s(so\sno\s"cron"\stasks)\sbut\sretarded\sevents\sare\smore\simportant:\sif\syou\sdo\sa\slot\sof\sevents\slike\s"<code>after\s5\s[list\saccept\s$sock]</code>"\sand\sthey\swill\sbe\sexecuted\sfirstly\sin\s10\sseconds\s(if\sthe\stime\sjumps\sbackwards)\sit\swould\sbe\sIMHO\smuch\sworse\sas\sretarded\s"cron"\sevent\swhich\sdue-time\sis\sfirst\sin\s1\shour.\r\nI\smean\sthe\srelation\sbetween\s<b>"5ms"\sand\s"10s"</b>\sis\smuch\smore\sserious\sas\s<b>"1h"\sand\s"1h+10s"</b>.\r\n\r\nAlso\sI'm\stotally\sagree\swith\sKevin\sand\sI\smean\sthe\spros\soutweigh\sthe\scons\smany\stimes,\salso\sif\sit\smay\spotential\sbreak\stheoretical\spossible\sincompatibility.\r\n\r\nAll\sother\schanges\sare\stotally\sbackwards-compatible\s(and\sI\stried\sto\shold\sall\sthe\senhancements\sin\sAPI\sas\snon-public,\sexcept\sthe\stcl-commands).\r\n\r\nSo\sI'm\sopen\sand\swaiting\sfor\sreview,\sobjections\sand\sconclusions...\r\n\r\nThx\sand\sregards,\r\nSergey.
J login sebres
J mimetype text/x-fossil-wiki
K 0520d17284500573d7c46aa88e0c6b4ebc9b6a02
U sebres
Z 662e5e06e5d14fe61e3cf4da00e6a8ab