Changeset 21952 in project


Ignore:
Timestamp:
12/13/10 16:29:47 (9 years ago)
Author:
Alan Post
Message:

genturfa'i: turn on all optimization settings.

I've uncommented all of the (declare ...) options, as I think the
code is ready to run with these optimizations.

I've been using this set when I run genturfa'i for jbogenturfa'i,
and the errors I've seen all turn out to be user-error.

I do, with these settings, permit malformed input to the PEG parser
to result in error messages (or core dumps) from the compiler. I'm
happy, with the scale genturfa'i is at now, to leave this as it is.

A more user-friendly program would catch these errors and report
something domain-specific.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/genturfahi/trunk/chicken-declare.scm

    r21889 r21952  
    2222;;;
    2323
    24 ;(declare (disable-interrupts))
    25 ;(declare (extended-bindings))
    26 ;(declare (fixnum-arithmetic))
    27 ;(declare (inline))
    28 ;(declare (inline-global))
    29 ;(declare (lambda-lift))
    30 ;(declare (local))
    31 ;(declare (no-bound-checks))
    32 ;(declare (no-procedure-checks))
    33 ;(declare (number-type fixnum))
    34 ;(declare (safe-globals))
    35 ;(declare (standard-bindings))
    36 ;(declare (unsafe))
     24(declare (disable-interrupts))
     25(declare (extended-bindings))
     26(declare (fixnum-arithmetic))
     27(declare (inline))
     28(declare (inline-global))
     29(declare (lambda-lift))
     30(declare (local))
     31(declare (no-bound-checks))
     32(declare (no-procedure-checks))
     33(declare (number-type fixnum))
     34(declare (safe-globals))
     35(declare (standard-bindings))
     36(declare (unsafe))
Note: See TracChangeset for help on using the changeset viewer.