home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,649 of 2,978   
   Dr J R Stockton to All   
   Re: Possible to inline this code?   
   06 Jun 08 22:54:03   
   
   f03727e6   
   From: jrs@merlyn.demon.co.uk   
      
   In comp.lang.pascal.borland message , Thu, 5 Jun 2008 21:02:01, Jim Leonard   
    posted:   
   >   
   >Not really, of course, since this is a pain in the ass to insert in   
   >the source code all over the place, so I'll probably just stick to the   
   >array reference.  If I truly truly need speed, I'll inline assembler   
   >the entire thing using xlat.   
      
   Have you considered the possibilities of using a Make File with a   
   scripted editor (or a Pascal program) as preprocessor?  You might then   
   be able to write the source code using lines such as   Hex ::= Nyb(wd)   
   and have them converted to asm..end blocks before the command-line   
   compiler sees them.  And, if all those are in Units, you might still run   
   the Main from the IDE.   
      
   But ISTM that it's a rather peculiar program if a large amount of its   
   work is converting nibbles.   
      
   --   
    (c) John Stockton, nr London UK.  ?@merlyn.demon.co.uk  Turnpike v6.05  MIME.   
      TP/BP/Delphi/&c., FAQqy topics & links;   
        RAH Prins : c.l.p.b mFAQ;   
      Timo Salmi's Turbo Pascal FAQ.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca