[tcltk-perl] about difference in Tk.pm between 1.49 and 1.50
Brought to you by:
hobbs
From: Vadim K. <va...@ar...> - 2004-04-27 04:21:18
|
Dear Jeff, I see you did many changes in Tk.pm. But in case you do such global replacement, please make sure you're doing replacement correctly. For me, there is no much improvement in writing everywhere my $int = $W{$$wid}->{'INT'}; instead of my $int = $wint{$$wid}; Here is why: both are not perfect but yours is larger, yet will be a bit slower (takes one more hash dereference). For me, better is just to write $wid->interp; Actually, when doing such global replacement, please let it be finished way of doing things, and let us agree on how things will be done. I think those global package-wide hashes should actually be part of Tcl::Tk interpreter object. As Gisle already mentioned, simple changes should go directly to CVS but serious changes should be discussed first, may be best way is to send such patches to this list first. Best regards, Vadim. |