Skip to content
Snippets Groups Projects
Commit 449deb80 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1999-02-17 15:57:20 by simonm]

Fast Integers.  The rep. of Integers is now

	data Integer = S# Int#
		     | J# Int# ByteArray#

- several new primops added for overflow-detecting arithmetic
- negateInteger# removed; it can be done directly
- integer_0, integer_1 etc. removed.
- the compiler now uses S# where it previously used int2Integer.
- the compiler generates small integers for -2^32 .. 2^32-1, instead
  of -2^29 .. -2^29-1.

- PrelST.State datatype moved to LazyST (its only use).
- some library code (in Time.lhs) still needs cleaning up, it depends
  on the Integer rep.
parent 58f9684c
No related branches found
No related tags found
Loading
Showing
with 609 additions and 508 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment