IMPORT IO, FROM IO IMPORT ? 
Author Message
 IMPORT IO, FROM IO IMPORT ?

Hi all,
        I have the following question.....i tried to test it myself...but
didn't see much difference....

        The question is:

        Which is of the foloowing 2 methods is the fastest:

        1. IMPORT IO;
           BEGIN
             IO.StringOut("hello world!");

        2. FROM IO IMPORT StringOut;
           BEGIN
             StringOut("Hello world!");

        Of course I mean on a large scale program....which is faster
in compiling......is there a major difference between these 2
methods???

        Thanks

Later,

-=end of included msg=-
I always forgot to include my sig.txt, but how about this:
a sign on a doctor's door says in Roman:
        "Specialist in women and other disease" ....I got
that from David Harrison's signature...."the programmer of
Pegasus mail".....it is cool..no....no offense is intended
tho ":)



Tue, 10 Dec 1996 21:07:56 GMT  
 IMPORT IO, FROM IO IMPORT ?

|> Hi all,
|>   I have the following question.....i tried to test it myself...but
|> didn't see much difference....
|>  
|>   The question is:
|>  
|>   Which is of the foloowing 2 methods is the fastest:
|>
|>   1. IMPORT IO;
|>      BEGIN
|>              IO.StringOut("hello world!");
|>
|>   2. FROM IO IMPORT StringOut;
|>            BEGIN
|>              StringOut("Hello world!");
|>
|>   Of course I mean on a large scale program....which is faster
|> in compiling......is there a major difference between these 2
|> methods???

No.
--

- Bill Seurer     Language and Compiler Development      IBM Rochester, MN



Wed, 11 Dec 1996 03:08:50 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. IMPORT IO, FROM IO IMPORT ?

2. IMPORT IO, FROM IO IMPORT ?

3. import Image vs from PIL import Image vs import PIL.Image

4. mixing IO#read and IO#syswrite

5. Perl IO to Ruby IO help needed

6. BUG?: HP-UX 10.20 and IO#gets followed by IO#puts

7. BUG? IO.seek conflicts with IO.sysread

8. VAX Ada sequential IO and Direct IO - (nf)

9. VAX Ada sequential IO and Direct IO

10. VAX Ada sequential IO and Direct IO

11. Not DOS interrupts, I want direct IO (memory mapped IO)

12. Import Data With File Import

 

 
Powered by phpBB® Forum Software