Commit graph

1111 commits

Author SHA1 Message Date
Folkert
b4ab02f23a actually generate RC dec code for dict values 2021-02-12 21:39:20 +01:00
Folkert
574e472978 hide debug init stuff in a macro 2021-02-12 21:24:49 +01:00
Folkert
d9d31f6cb4 getting and setting of key/value/tag 2021-02-12 21:16:28 +01:00
Folkert
ac78ed9dfc add dict capacity to its stack size 2021-02-12 19:16:55 +01:00
Folkert
ee21f86f8f hooking everything up 2021-02-12 17:18:06 +01:00
Folkert
402b97aeb4 clippy 2021-02-10 19:54:21 +01:00
Folkert
b61736fbed hash list and RoseTree 2021-02-10 19:50:18 +01:00
Folkert
129f85b1f5 hash tag & struct 2021-02-10 16:48:04 +01:00
Folkert
9ab9675a43 refactor build_hash 2021-02-10 15:24:06 +01:00
Folkert
0ed87828e5 Merge remote-tracking branch 'origin/trunk' into dict 2021-02-10 15:02:53 +01:00
Folkert
b6ceaab341 first steps for init 2021-02-09 22:47:38 +01:00
Folkert
352008e8a0 use user-provided seed 2021-02-09 22:25:01 +01:00
Folkert
ca04411523 fix tests/more uniq removal 2021-02-07 22:50:33 +01:00
Folkert
31fc62b7f0 cleanup 2021-02-06 21:46:22 +01:00
Folkert
2d63e24843 make hash work for integers/floats/strings 2021-02-06 21:33:56 +01:00
Folkert
1afd64f7e7 fix Dict.empty 2021-02-06 19:26:09 +01:00
Chadtech
a1add5c1b3 Fix argument parity issues for some functions 2021-02-04 01:04:08 -05:00
Chadtech
68e3a10ff0 cargo fmt 2021-02-04 00:47:18 -05:00
Chadtech
a575ff22fa Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-02-04 00:37:30 -05:00
Folkert de Vries
438a2e6f83
Merge branch 'trunk' into parser-with-progress 2021-02-04 00:40:20 +01:00
Folkert
e643d1ea3c more backtracking 2021-02-02 18:47:58 +01:00
Chadtech
69fcbf70ea
Merge branch 'trunk' into dict 2021-01-31 15:46:22 -05:00
Folkert
3ccf6de2cf add branch info to switches 2021-01-31 20:36:40 +01:00
Chadtech
7a64ffede5 Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-29 21:17:32 -05:00
Folkert
55eff1dba1 fix oversights 2021-01-28 15:32:22 +01:00
Folkert
936bf459eb initial version of rc optimization 2021-01-28 13:14:54 +01:00
Folkert
21713bbb0a clippy 2021-01-27 00:13:20 +01:00
Folkert
e87d8f6449 optimize branching in debug builds 2021-01-26 23:45:41 +01:00
Folkert
aaa103005a format 2021-01-26 23:44:29 +01:00
Folkert
ec042b5949 remove unneeded argument 2021-01-26 23:12:04 +01:00
Folkert
53e56e275d don't store function arguments in alloca 2021-01-26 22:01:04 +01:00
Chadtech
d787d3ef7b
Merge branch 'trunk' into dict 2021-01-25 20:25:37 -05:00
Folkert
5a62359a5f remove T from join 2021-01-25 17:23:45 +01:00
Folkert
517bde4f4a remove T from concat 2021-01-25 17:22:22 +01:00
Folkert
7e89307292 implement Dict.empty 2021-01-25 16:53:11 +01:00
Folkert
0166a4d915 fix test hanging forever 2021-01-25 13:20:40 +01:00
Richard Feldman
4bd84f4b6f
Merge branch 'trunk' into str-join 2021-01-25 00:54:28 -05:00
Richard Feldman
54f8efaa68
Merge branch 'trunk' into list-empty-record 2021-01-25 00:50:58 -05:00
Folkert
48c8343d53 add Str.joinWith 2021-01-25 00:30:48 +01:00
Chadtech
ec7d8e0dc9 Bringing in Trunk and resolving conflict 2021-01-23 21:23:31 -05:00
Folkert
54fb482b79 Merge remote-tracking branch 'origin/trunk' into list-empty-record 2021-01-23 15:24:05 +01:00
Folkert
513d7cd78f groundwork for RoseTree 2021-01-23 01:39:04 +01:00
Folkert
bb12b39fc7 cleanup 2021-01-22 16:18:19 +01:00
Folkert
d8fd2d670d don't use alloca in inc/dec 2021-01-22 15:30:43 +01:00
Folkert
6344771a0c optimize refcount inc/dec (tail recursion) 2021-01-22 15:24:49 +01:00
Folkert
191dee73df clippy 2021-01-22 13:54:35 +01:00
Folkert
cb8de4ac04 move check out of main loop 2021-01-22 13:52:19 +01:00
Folkert
690f3ee5c9 simplify recursive case 2021-01-22 13:18:27 +01:00
Folkert
155c9fd9b0 pass the refcount value at runtime 2021-01-22 13:13:12 +01:00
Chadtech
9d776a2de5 rename Dict.size to Dict.len 2021-01-21 23:16:25 -05:00