In article <87wm1gpvdr.fsf@nightsong.com>,   
   Paul Rubin wrote:   
   >Hans Bezemer writes:   
   >> 5. I added GCC extension support to 4tH in version 3.62.0. At the   
   >> time, it improved performance by about 25%. By accident I found out   
   >> that was no longer true. switch() based was faster. I didn't know   
   >> there had been changes in that regard to GCC.   
   >   
   >If you mean the goto *a feature, these days you might try using tail   
   >calls instead. GCC and LLVM both now support a musttail attribute that   
   >ensures this optimization, or signals a compile-time error if it can't.   
   >   
   >https://lwn.net/Articles/1033373/   
      
   If you pass an address a as a tail call is it approximately equal   
   to coroutines:   
      
   : HEX: R> BASE @ >R >R HEX CO R> BASE ! ;   
      
   Used for example as   
      
   : .H HEX: . ;   
      
   In this case the tail call is `` R> BASE ! '' to restore the base?   
      
   Groetjes Albert   
   --   
   The Chinese government is satisfied with its military superiority over USA.   
   The next 5 year plan has as primary goal to advance life expectancy   
   over 80 years, like Western Europe.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|