in reply to Why so slow when using Perl/Tk?
Why are you using Tk merely to create a button?
It seems likely to me that executing this script is not significantly less demanding (of the ultimate user) than it would be to execute a non-GUI script from the command line.
Granted, when you write the code to populate your hashes (rather than hardcoding them), your CLI script will likely need argument(s) [source file(s) and output file] but if the Monks who can answer your actual question conclude that the issue is in some- or large-part the extra overhead of Tk, you're faced with a choice: "to take a hit in performance in exchange for the simple interface" or to offer the user(s) a usage prompt or training.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why so slow when using Perl/Tk?
by RAS230 (Acolyte) on Jul 28, 2009 at 22:54 UTC | |
by ww (Archbishop) on Jul 28, 2009 at 23:12 UTC | |
by RAS230 (Acolyte) on Jul 29, 2009 at 00:05 UTC | |
by Argel (Prior) on Jul 29, 2009 at 00:31 UTC |