eval vs source performance

From: Aamer Akhter (aakhter_at_gmail.com)
Date: 03/28/05


Date: 27 Mar 2005 22:02:04 -0800

Hello,

Has anybody done studies/have experience in performance differences
between sourcing a file vs. using eval.

The file/eval in my case does not have a huge number of commands, but
there is quite a bit of data stored in script from (ie set a {b c
d...}. The problem I'm trying to solve via the eval is then I can store
the script in a tokenized file that can include metadata about the data
that the script will create in the tcl intrepretor. The other idea is
to have a two file solution one file a tcl sourcable script, and
another file contains the metadata.

Thoughts/Suggestions?



Relevant Pages

  • Re: Those clever people in Redmond.
    ... "file" did whatever the metadata told it to do. ... So, when you double-clicked on a script file, did that launch an editor or ... If the script was in an application folder (one of these directory special ... Mind you, ...
    (uk.misc)
  • Safari/Metadata vulnerability
    ... When a Safari link is to a zip file with "safe" content (like a movie), ... OS X will open the file, but will run the script. ... This metadata manipulation reminds me of the old Windows trick of using ...
    (comp.sys.mac.apps)
  • Re: Sezing FSMO roles...
    ... The script will show you all the DCs that are int eh metadata. ... then lets you remove a DC fromt he metadata just by typing the name. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Silencing...Complete Post..Comments?
    ... metadata entry which I am always kind of behind the ball w/ on a form. ... As for your not entering metadata and letting the Cantar do ... many jobs, some even without benefit of a script, ...
    (rec.arts.movies.production.sound)
  • Why wont split() find ?
    ... I am writing a script to read the metadata from a bunch of mp4 flies ... # Convert filenames to unix paths ... running perl scripts via terminal/bash. ...
    (perl.beginners)