From: Leonardo Trabuco (ltrabuco_at_ks.uiuc.edu)
Date: Sat Jul 25 2009 - 10:54:53 CDT

Hi Axel,

On Thu, Jul 23, 2009 at 7:45 AM, Axel
Kohlmeyer<akohlmey_at_cmm.chem.upenn.edu> wrote:
[...]
> over the last years i've been on and off working on a more
> flexible console output handling for VMD (it works fine for me, and
> is included in the VMD source, but not ready for prime time and thus
> not enabled in the official VMD builds)... and i have been pondering
> for a while, if i should try and change this behavior for the VMD
> console (or at least make it an option). having the current behavior
> can seriously impact performance, if one processes large data sets
> on the command line, as it take much more time to format and print
> them, than to do the calculations. the downside of disabling this
> behavior is, that fast calculations with expr would not work anymore.
> one would have to define a new command, e.g. something like this
>
> proc compute {args} {
>  set res [expr $args]
>  puts "$res"
> }
>
> to recover this. if people here would give their opinion on this,
> it would help us to make an appropriate choice.

I would suggest not changing the default behavior, but adding a
command such as "silence on/off" so that users can manually turn off
console printing if they believe it will impact performance.

Cheers,
Leo

> cheers,
>   axel.
>
>
>> Nicolas
>>
>
> --
> =======================================================================
> Axel Kohlmeyer   akohlmey_at_cmm.chem.upenn.edu   http://www.cmm.upenn.edu
>   Center for Molecular Modeling   --   University of Pennsylvania
> Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
> tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
> =======================================================================
> If you make something idiot-proof, the universe creates a better idiot.
>
>

-- 
Leonardo Trabuco, Ph.D. candidate
Theoretical and Computational Biophysics Group
University of Illinois at Urbana-Champaign