Folkert
|
2166b1355b
|
check for empty key/value (not doing so caused problems for set)
|
2021-02-17 16:18:42 +01:00 |
|
Anton-4
|
60edbaffee
|
Merge branch 'trunk' into dict-more
|
2021-02-17 14:52:48 +01:00 |
|
Brendan Hansknecht
|
798ac52dcf
|
Merge remote-tracking branch 'origin' into gen_dev/zig_builtins
|
2021-02-15 23:52:23 -08:00 |
|
Folkert
|
a37913ff01
|
fix shadowing
|
2021-02-16 01:23:10 +01:00 |
|
Folkert
|
411a265024
|
remove bitcast in Str.fromFloat
|
2021-02-16 00:56:44 +01:00 |
|
Folkert
|
49ca8f3e86
|
add Set.fromList
|
2021-02-16 00:51:23 +01:00 |
|
Folkert
|
13b2c23c01
|
working AStar
|
2021-02-15 21:34:55 +01:00 |
|
Brendan Hansknecht
|
7d24d51392
|
gen_dev: generate and link zig builtins.
|
2021-02-14 18:15:00 -08:00 |
|
Folkert
|
57e8d5b4c3
|
implement Set inclusion functions
|
2021-02-14 23:57:35 +01:00 |
|
Folkert
|
1256327caa
|
dict walk
|
2021-02-14 21:16:42 +01:00 |
|
Folkert
|
39c4353554
|
add difference
|
2021-02-14 20:01:24 +01:00 |
|
Folkert
|
02db8f1a05
|
union and intersection
|
2021-02-14 19:55:01 +01:00 |
|
Folkert
|
87ce5d9dd8
|
remove dict test
|
2021-02-14 16:24:26 +01:00 |
|
Folkert
|
02e161f839
|
add dict tests with string keys/values
|
2021-02-14 15:49:40 +01:00 |
|
Folkert
|
89821a83af
|
use nicer casting method
|
2021-02-14 15:05:58 +01:00 |
|
Folkert
|
62d0bc62ce
|
deallocate dict when it becomes empty
|
2021-02-14 14:49:01 +01:00 |
|
Folkert
|
67aaaf4623
|
remove some dead code
|
2021-02-14 03:44:00 +01:00 |
|
Folkert
|
210bd18fe3
|
implement decref, fuse RC operations
|
2021-02-14 03:16:11 +01:00 |
|
Folkert
|
c9e2958947
|
add refcount check
|
2021-02-14 00:42:42 +01:00 |
|
Folkert
|
27c3a7c8f2
|
only refcount filled cells
|
2021-02-14 00:33:07 +01:00 |
|
Folkert
|
49bba11e06
|
refactor findIndex and insert
|
2021-02-14 00:25:44 +01:00 |
|
Folkert
|
b2e626ab0c
|
Dict.insert WIP
|
2021-02-13 23:32:01 +01:00 |
|
Folkert
|
63b4d1dd65
|
don't reset slots when making unique
|
2021-02-13 19:42:35 +01:00 |
|
Folkert
|
e9f2d9d608
|
work on refcount
|
2021-02-13 16:41:13 +01:00 |
|
Folkert
|
ac5eb0f6f6
|
Dict.get
|
2021-02-13 16:12:45 +01:00 |
|
Folkert
|
cba729a933
|
use inline always strategically
|
2021-02-13 01:10:37 +01:00 |
|
Folkert
|
afe2f51660
|
basic versions of contains and remove
|
2021-02-12 23:47:02 +01:00 |
|
Folkert
|
d9d31f6cb4
|
getting and setting of key/value/tag
|
2021-02-12 21:16:28 +01:00 |
|
Folkert
|
ee21f86f8f
|
hooking everything up
|
2021-02-12 17:18:06 +01:00 |
|
Folkert
|
2d63e24843
|
make hash work for integers/floats/strings
|
2021-02-06 21:33:56 +01:00 |
|
Chadtech
|
a575ff22fa
|
Merge branch 'trunk' of github.com:rtfeldman/roc into dict
|
2021-02-04 00:37:30 -05:00 |
|
Chadtech
|
ba5f87e149
|
Zig fmt
|
2021-02-04 00:37:27 -05:00 |
|
Chadtech
|
bec9e6ff53
|
Avoided memory leak problem, theres no real implementation beyond RocDict.empty so there is no need for memory allocation yet
|
2021-02-01 23:24:04 -05:00 |
|
Folkert
|
a79a9ea253
|
use the compiler's str.zig from platforms
|
2021-01-31 23:11:02 +01:00 |
|
Chadtech
|
bb853d4b51
|
Use dict_entries_len instead of non-existent dict_len struct field
|
2021-01-31 15:51:57 -05:00 |
|
Chadtech
|
7e63f72922
|
WIP code for the basic methods on the Zig RocDict type (init, deinit, clone, allocate)
|
2021-01-31 00:33:06 -05:00 |
|
Chadtech
|
7a64ffede5
|
Merge branch 'trunk' of github.com:rtfeldman/roc into dict
|
2021-01-29 21:17:32 -05:00 |
|
Folkert
|
dbb1484a91
|
fix isize/usize mixup
|
2021-01-26 01:12:46 +01:00 |
|
Folkert
|
712be89c9d
|
fix zig tests
|
2021-01-25 20:12:37 +01:00 |
|
Folkert
|
205f55be2e
|
cleanup
|
2021-01-25 17:24:22 +01: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
|
257985496b
|
use usize to determine size of roc str
|
2021-01-25 17:13:52 +01:00 |
|
Folkert
|
7e89307292
|
implement Dict.empty
|
2021-01-25 16:53:11 +01:00 |
|
Folkert
|
73de5b8132
|
joinWith zig implementation and general string improvements
|
2021-01-25 00:17:41 +01:00 |
|
Chadtech
|
ec7d8e0dc9
|
Bringing in Trunk and resolving conflict
|
2021-01-23 21:23:31 -05:00 |
|
Chadtech
|
9d776a2de5
|
rename Dict.size to Dict.len
|
2021-01-21 23:16:25 -05:00 |
|
Folkert
|
18d04614d4
|
clean up zig str concat
|
2021-01-21 20:20:20 +01:00 |
|
Chadtech
|
520dcfbaca
|
Wiring up dictionary and hash rust code to their zig counterparts
|
2021-01-18 15:25:37 -05:00 |
|
Chadtech
|
c7f6de2afe
|
Merge branch 'trunk' of github.com:rtfeldman/roc into dict
|
2021-01-16 14:55:09 -05:00 |
|