--- In [EMAIL PROTECTED], Alex Peters <[EMAIL PROTECTED]> wrote:
> In either case, attaching parameters isn't as simple as tacking the
> parameter string onto the end.
> 
> What if I were to adopt Luciano's approach, where each alias is
> defined on one line of a file, and the command, parameters and
> working directory are all delimited by something like three pound
> signs?

I'm rather against this "all to memory" approach since it may be
such a huge waste of memory. I know memory sticks are cheap these
days, but that is not the point: "waste is waste".
How many programs (:aliases) among all the aliases you defined
do you really use often? Moreover, I myself usually kept them open
along the session anyway. Well, I admit it very depends on the
personal usage so shouldn't be generalized by my own experience.

Anyway, the true beauty of the "map & vec" version is that you don't
have to take the "all or nothing" approach. It can incorporate
perfectly the heterogeneous data structures.
For example, use ".@" format for the complicated aliases and
not-often-used aliases whereas store directly in memory for those
often-used and simple aliases.

IMHO, the "parameters" shouldn't be a real problem, if you introduce
some "leading" or "trailing" marker which distinguishes whether
the "parameters" are for ".@"-format or for "direct memory"-format.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to