home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / prolog / 1652 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  983 b 

  1. Path: sparky!uunet!mcsun!corton!irisa!irisa.fr!serge
  2. From: serge@irisa.fr (Serge Le Huitouze)
  3. Newsgroups: comp.lang.prolog
  4. Subject: Re: Compilation of Disjuncts
  5. Message-ID: <1992Sep4.071522.27158@irisa.fr>
  6. Date: 4 Sep 92 07:15:22 GMT
  7. Sender: news@irisa.fr
  8. Reply-To: brisset@irisa.fr
  9. Organization: Irisa, Rennes(FR)
  10. Lines: 15
  11.  
  12. I realise that my first question on the compilation of disjuncts was sure stated
  13. in a too much naive way.
  14.  
  15. Now, here is a more precise formulation for my question:
  16.  
  17. How do WAM implementations treat the disjunction EFFICIENTLY ?
  18.                                                  ^^^^^^^^^^^
  19.  
  20. I cannot believe that the branches of the ';' are copied into the heap and then
  21. executed via 'call/1', which would make them be interpreted rather than compiled.
  22.  
  23. So, given that a great effort towards efficiency has been achieved for the WAM
  24. I think there is, here or there, some special treatment for ';'.
  25.  
  26. Any pointers/articles/reports about this would be welcome.
  27.