Commit graph

4347 commits

Author SHA1 Message Date
Folkert
48d2f53eb1 create a new heap cell after modification 2021-07-25 12:50:42 +02:00
Folkert de Vries
d5c6fc7179
Merge branch 'trunk' into performance-tweaks 2021-07-22 22:43:16 +02:00
Folkert de Vries
d4570e3175
use reserve
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2021-07-22 21:14:46 +02:00
Folkert
6ab90cd15d not so fast 2021-07-21 22:17:53 +02:00
Folkert
564efd528a early return in common tag case 2021-07-21 22:02:30 +02:00
Folkert
05b43c6799 optimize separating tags into shared and unique 2021-07-21 21:38:16 +02:00
Folkert
ca8041cfa3 other tags 2021-07-21 21:06:32 +02:00
Folkert
c398adedf6 get rid of ImMap in Solve 2021-07-21 20:51:06 +02:00
Folkert
243bd30074 even less cloning out of subs 2021-07-21 20:28:52 +02:00
Folkert
533e20e49c less cloning out of Subs 2021-07-21 20:24:30 +02:00
Folkert
c87f984d0a some unsafe to make fewer clones 2021-07-21 19:37:09 +02:00
Folkert
212f032e96 optimize adjust_rank 2021-07-21 18:43:58 +02:00
Folkert
ea1efd9037 pre-allocate vec 2021-07-21 18:43:40 +02:00
Folkert
7fa7ea08df use insert to tell us if there is a duplicate 2021-07-21 18:43:26 +02:00
Folkert
fda945f765 write thank you message 2021-07-21 15:22:32 +02:00
Folkert
99bab04c1d Merge remote-tracking branch 'origin/trunk' into add-dec-types 2021-07-21 15:18:41 +02:00
Folkert
bafb16091d explicitly include muloti4 in LLVM IR 2021-07-21 15:01:18 +02:00
Richard Feldman
6c44714b2a Drop obsolete dbg! 2021-07-19 20:51:02 -04:00
Richard Feldman
0dd05b02d5 Merge remote-tracking branch 'origin/trunk' into effect-example 2021-07-19 20:50:31 -04:00
Folkert
8eb0c6fbb8 fix example 2021-07-19 22:19:55 +02:00
Folkert
89fd4c3074 test for malformed header 2021-07-19 20:37:39 +02:00
Folkert
0d606a348e add intrinsics back in ?! 2021-07-18 23:25:31 +02:00
Jared Ramirez
1b1d9a7ecf Merge branch 'add-dec-types' of https://github.com/rtfeldman/roc into add-dec-types 2021-07-18 14:13:59 -07:00
Jared Ramirez
a763e046fc Better inline of isDigit 2021-07-18 14:13:12 -07:00
Folkert
4b2804019d add unreachable based on invariants 2021-07-18 22:54:03 +02:00
Folkert
23ea151d5f make decimal math ops correctly report overflow 2021-07-18 22:04:32 +02:00
Folkert
2b5ec3dcf1 centralize overflow error reporting 2021-07-18 20:50:15 +02:00
Folkert
074aba0012 less nullable 2021-07-18 20:00:41 +02:00
Folkert
b0a07558f1 decimal toStr maxInt and minInt tests 2021-07-18 19:52:05 +02:00
Folkert
bc88fc3880 refactor decimal toStr 2021-07-18 19:48:26 +02:00
Folkert
cb42f0c039 Merge remote-tracking branch 'origin/trunk' into add-dec-types 2021-07-18 16:54:38 +02:00
Folkert de Vries
beb3f9fed9
Merge branch 'trunk' into morphic-recursive-types 2021-07-18 16:50:40 +02:00
Richard Feldman
24f45f6437
Merge branch 'trunk' into reset-reuse 2021-07-17 20:59:44 -04:00
Jared Ramirez
de7cab629d
Merge branch 'trunk' into add-dec-types 2021-07-17 17:21:40 -07:00
Jared Ramirez
bb7e0097d1 Use constants; Inline RocDec.isDigit 2021-07-17 17:21:16 -07:00
Richard Feldman
5d5a944ec3
Merge pull request #1480 from rtfeldman/store-tag-id-in-ptr
Store tag id in ptr
2021-07-17 19:27:58 -04:00
Folkert
33caa0f26d cleanup 2021-07-18 00:25:23 +02:00
Folkert
5012b11129 fix oversight 2021-07-18 00:13:45 +02:00
Folkert
e19b03f290 WIP 2021-07-18 00:04:10 +02:00
Folkert
e0b9377dcf refactor wrapped tag creation 2021-07-17 22:18:33 +02:00
Folkert
c57913f767 fix hash and compare 2021-07-17 22:00:57 +02:00
Folkert
bfd189aa19 clear tag id from reused pointer 2021-07-17 21:43:40 +02:00
Folkert
67d3d8ace9 Merge remote-tracking branch 'origin/trunk' into morphic-astar 2021-07-17 20:28:54 +02:00
Folkert
de21e90fdd don't link in zig compiler_rt to llvm bundle 2021-07-17 17:12:14 +02:00
Folkert
1655d2ba92 fix memory access bug in tags 2021-07-17 17:11:35 +02:00
Folkert
8f3427ce95 simpler to string conversion
more verbose, but does not pull in a whole bunch of zig formatting logic
2021-07-17 16:14:01 +02:00
Folkert
1f1cf180c4 fix merge conflict 2021-07-17 00:07:29 +02:00
Folkert
3acd5a3c0a implement morphic encodings for more lowlevel ops 2021-07-17 00:05:06 +02:00
Brendan Hansknecht
daddac4e3c
Merge branch 'trunk' into reset-reuse 2021-07-16 14:43:30 -07:00
Folkert
134bdb38ba fix bug in casting recursive pointers 2021-07-16 22:34:41 +02:00