On 9/22/06, Beni Cherniavsky <[EMAIL PROTECTED]> wrote: [...] > Granted. Though I'm slightly afraid the performance of > ``(history)[n]`` will deteriorate as the history grows.
Don't be. The history would need to be absurdly large before this becomes an issue. As a matter of fact, using a variable is currently no faster, since variable expansion first expands to the entire array, and then performs the slicing. A single call to fork+execve (i.e. calling an external command) will be significantly slower than slicing any array that doesn't take up a large part of the computers memory. [...] > > -- > Beni Cherniavsky <[EMAIL PROTECTED]>, who can only read email on weekends. > -- Axel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
