Abridged summary of comp.lang.tcl@googlegroups.com - 27 updates in 8 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 27 updates in 8 topics

comp.lang.tcl mailing list
Cecil Westerhof <[hidden email]>: Apr 15 11:50AM +0200

I had something where I had to use big loops. The number of times it
had to be run increased exponentially. There is wrong way and a right
way to do that. Code at the and of the message.
...more
Arjen Markus <[hidden email]>: Apr 15 04:01AM -0700

Here are some comments ...
 
On Monday, April 15, 2019 at 11:59:07 AM UTC+2, Cecil Westerhof wrote:
 
> for {set i 0} {$i < ${until}} {incr i} {
> }
> }
 
The value of until ...more
Rich <[hidden email]>: Apr 15 11:37AM

>> withInt int
>> } {
>> set seconds [expr [lindex [time ${function}] 0] / 1000000.0]
 
To further add to Arjen's comments, above you run "${function}" once, ...more
Arjen Markus <[hidden email]>: Apr 15 04:48AM -0700

On Monday, April 15, 2019 at 1:37:19 PM UTC+2, Rich wrote:
> etc.). You'll amortize the bytecode work from call one over the other
> 49 (or 99, or etc.) calls and will end up with a net that is ...more
Rich <[hidden email]>: Apr 15 12:25PM

> way to do that. Code at the and of the message.
 
> When calculating the power each time again, the loop takes about a
> hundred times the time as when it is calculated in advance.
...more
Cecil Westerhof <[hidden email]>: Apr 15 03:33PM +0200

> etc.). You'll amortize the bytecode work from call one over the other
> 49 (or 99, or etc.) calls and will end up with a net that is closer to
> the true runtime expense.
 
In the case I was ...more
Cecil Westerhof <[hidden email]>: Apr 15 03:28PM +0200

>> }
 
> The value of until is calculated once, but in general it is better to brace your expressions:
 
> set until [expr {pow(10, $::exp)}]
 
Here it does not matter, but when used in the ...more
Rich <[hidden email]>: Apr 15 02:25PM

> set seconds [expr {[lindex [time ${function}] 0] / 1000000.0}]
> puts [format "%-25s %.2E" "Again with ${function}: " ${seconds}]
 
> There is not really a difference in the timings ...more
Rich <[hidden email]>: Apr 15 03:04PM


>> set until [expr {pow(10, $::exp)}]
 
> Here it does not matter, but when used in the withPow proc it is a
> speedup of almost 10.
 
Already explained here in depth: ...more
Cecil Westerhof <[hidden email]>: Apr 15 07:34PM +0200


>> There is not really a difference in the timings in this case.
 
> I don't see any difference between the first and second time calls
> above.
 
Because U cold it the first time, it does not ...more
Rich <[hidden email]>: Apr 15 07:36PM

>> above.
 
> Because U cold it the first time, it does not have to be compiled for
> the second time. Or do I miss something?
 
No, you do not. I miss-interpreted your statement to mean you'd ...more
briang <[hidden email]>: Apr 14 01:38PM -0700

On Sunday, April 14, 2019 at 1:18:31 PM UTC-7, Alexandru wrote:
 
> I was writing about the intended silence of the callback (no erros got through).
> I understand very well the reason for the ...more
Ralf Fassel <[hidden email]>: Apr 15 03:53PM +0200

* Alexandru <[hidden email]>
| Since the long lasting processes are external (different executable) I
| guess they are not blocking the interpreter. So you are saying in this ...more
Alexandru <[hidden email]>: Apr 15 09:32AM -0700

Am Montag, 15. April 2019 15:53:55 UTC+2 schrieb Ralf Fassel:
> }
 
> HTH
> R'
 
Hi Ralf, in the meanwhile I decided to give it a try with twapi. It works fine for one case, does not work for ...more
[hidden email]: Apr 15 11:35AM -0700

On Monday, April 15, 2019 at 6:53:55 AM UTC-7, Ralf Fassel wrote:
 
> fconfigure $fd -blocking 0
 
.. snip ..
> } else {
> # regular process exit
> }
...more
tombert <[hidden email]>: Apr 14 03:17PM -0700

Just for completeness, I had an issue with Nagle's algorithm which I had to disable also on linux to get full performance.
https://groups.google.com/forum/#!topic/comp.lang.tcl/xtVodiKNr0I
...more
Ralf Fassel <[hidden email]>: Apr 15 03:49PM +0200

* Harald Oehlmann <[hidden email]>
| Am 11.04.2019 um 18:35 schrieb Ralf Fassel:
[...]
| > Now on Windows 10 I found that the plain TCL socket performance (of
| > course most probably the ...more
Harald Oehlmann <[hidden email]>: Apr 15 04:14PM +0200

Am 15.04.2019 um 15:49 schrieb Ralf Fassel:
> on Windows-7 when plain TCL did not work and iocpsock did.
 
> I have added this information to the above ticket as well.
 
> R'
 
I would be ...more
Busirane <[hidden email]>: Apr 15 06:40AM -0700

On Wednesday, April 10, 2019 at 3:00:44 PM UTC-4, Busirane wrote:
> I haven't absolutely verified this yet, but I think the same thing could be done with one command invocation like
...more
Vada <[hidden email]>: Apr 15 01:26AM -0700

I'm 33 years old Single mother looking for a buddy or possibly more. just bored of my situation hoping to meet someone who can bring back that spark i once had & fuck me hard
 
Join Now: ...more
Frank <[hidden email]>: Apr 15 06:06AM -0700

I'm single ,honest and out going , I love meeting new people and places ,I am shy at first but I start lil by lil as you get to know me if y wana know more message me do not be shy ;)
 
...more
Aranza <[hidden email]>: Apr 15 01:25AM -0700

Up In Late Night in new york
 
Join Now: https://swingersdating.oneminutesite.it/single_women_online.html
...more
Gregory <[hidden email]>: Apr 15 06:02AM -0700

I’m Ready To Rock Your World
 
Join Now: https://localwomendating.sitey.me
...more
Nicolas <[hidden email]>: Apr 14 09:27PM -0700

Le samedi 13 avril 2019 20:35:06 UTC+2, nemethi a écrit :
> configuration option.
 
> --
> Csaba Nemethi http://www.nemethi.de mailto:[hidden email]
 
ok, I got it, thanks. ...more
tombert <[hidden email]>: Apr 14 03:14PM -0700

On Thursday, 11 April 2019 03:12:24 UTC+2, Rich wrote:
> everything correctly, so this is not Tcl's fault, but a Ubuntu bug) you
> could also insert the title you want to see as the class (or ...more
Rich <[hidden email]>: Apr 15 12:42AM

>> just don't set a class).
 
> If Tcl has done everything correctly, so what have the other apps
> done wrong to display the correct title?
 
Check the xprop of one of the others. ...more
Robert Heller <[hidden email]>: Apr 14 09:58PM -0500

> bug. And since Ubuntu generally installs cutting edge alpha and beta
> level code, I'd not at all be surprised that there is a bug lurking
> there.
 
I did a test (Tcl/Tk 8.5, CentOS 6, ...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].