Performance of ASK

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Performance of ASK

Mike Cowlishaw-2
All that ASK does is coerce System.in to a BufferedReader and then uses the
readline method from that class.  So the overhead incurred is just that of a
single method call (probably almost negligible).  You get a useful
simplification of the code, however (apart from the exception glitch that
Martin Lafaix pointed out, which I have already fixed for the next release...).

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mike Cowlishaw, IBM Fellow, IBM UK Laboratories
mailto:[hidden email]   [http://www2.hursley.ibm.com]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>