Commit graph

71 commits

Author SHA1 Message Date
Folkert de Vries
37fed3fbdb
Merge pull request #3101 from rtfeldman/simd-interner-search
simd small string interner search
2022-05-23 19:37:51 +02:00
Folkert
f8259913cc
clippy 2022-05-22 15:31:40 +02:00
Ayaz Hafiz
a4c122d5db
Validate derives clauses after solving 2022-05-20 15:56:55 -04:00
Folkert
515e836cdb
formatting 2022-05-20 13:15:33 +02:00
Folkert
c190bfa2fe
use ReferenceMatrix for topological sort 2022-05-20 13:02:28 +02:00
Folkert
1e7c4b21b0
simd small string interner search 2022-05-20 12:35:24 +02:00
Ayaz Hafiz
28d6f30cc7
Fix type errors 2022-05-19 18:21:40 -04:00
Richard Feldman
1047c5635a
Merge remote-tracking branch 'origin/trunk' into test-bindgen 2022-05-19 14:10:53 -04:00
Anton-4
0f59f3097a
cargo fix --edition 2022-05-16 17:04:17 +02:00
Richard Feldman
ef70769761
Have VecSet::remove return a bool
This is what the standard Rust HashSet does.
2022-05-15 22:12:54 -04:00
Folkert
7face320eb
move back to one loc_symbols vector 2022-05-14 14:44:37 +02:00
Folkert
96bf75469a
formatting 2022-05-10 00:48:57 +02:00
Folkert
c5ee1effad
use chunks_exact; i spotted some weird things with the normal chunks 2022-05-09 22:46:39 +02:00
Folkert
c5b7ff98fd
move reference matrix 2022-05-08 12:18:10 +02:00
Ayaz Hafiz
a0950e9321
impl ExactSizeIterator for VecMap 2022-05-06 14:10:16 -04:00
Ayaz Hafiz
e0bfe6c762
Make specialization symbols a two-layered VecMap 2022-05-06 11:58:02 -04:00
Richard Feldman
59023d2a88
Add VecSet::insert_all 2022-05-05 16:18:38 -04:00
Richard Feldman
59d1687d0e
Add VecSet::iter_mut 2022-05-02 10:16:43 -04:00
Folkert
66d29e8611
fix typo 2022-04-30 21:00:48 +02:00
Folkert
76754e4d2a
use &str instead of Ident in some key places 2022-04-30 20:43:12 +02:00
Folkert
ec99d61953
skip generated symbols when looking for an ident 2022-04-30 17:11:46 +02:00
Folkert
45197779ae
re-use idents more aggressively 2022-04-30 15:47:15 +02:00
Folkert
c1d9c63e37
flip the order of loops to make lookups much faster 2022-04-30 12:27:50 +02:00
Folkert
42d74199e5
limit cost of inner_scope 2022-04-28 23:43:24 +02:00
Folkert
572bd66fb7
remove exosed_ident_ids 2022-04-28 21:34:58 +02:00
Folkert
7af2bb343c
remove unused Scope functions 2022-04-27 19:53:30 +02:00
Folkert
622c6f3248
Merge remote-tracking branch 'origin/trunk' into scope-smarter-storage 2022-04-27 19:45:09 +02:00
Folkert de Vries
1649e13cf0
add additional assert
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2022-04-27 15:31:43 +02:00
Folkert
61d4d66f80
move to u16 again for lengths 2022-04-27 14:26:20 +02:00
Folkert
b2f3ff0c3b
fix bug with updating strings giving incorrect results 2022-04-27 11:37:57 +02:00
Folkert
fc9067805b
move SmallStringInterner to its own file 2022-04-26 22:22:10 +02:00
Folkert
c31b796938
more types! 2022-04-26 20:10:29 +02:00
Folkert
6028507dff
Merge remote-tracking branch 'origin/trunk' into scope-smarter-storage 2022-04-25 21:33:20 +02:00
Folkert
a7e781ece2
simplify earlier topological sort of abilities/aliases 2022-04-24 16:19:31 +02:00
Folkert
d22a4711d4
use VecMap to store aliases 2022-04-24 15:37:44 +02:00
Folkert
894e5bdd5c
add code for more efficient identifier store 2022-04-22 22:06:00 +02:00
Folkert
9eddd23250
add vec_map 2022-04-20 18:09:09 +02:00
Folkert
8b144c446d
remove PartialEq for a bunch of types that we should not compare 2022-04-20 16:58:30 +02:00
Folkert
b59d33a1d5
refactor roc_collections 2022-04-19 23:00:05 +02:00
Folkert
7f3ca4458a
use VecSet in IntroducedVariables 2022-04-17 20:50:41 +02:00
Folkert
304b7fd569
use VecSet for exposed_symbols 2022-04-17 20:23:29 +02:00
Folkert
cc6c63355a
optimize for empty and singleton extends 2022-04-17 20:02:40 +02:00
Folkert
aa21186997
add VecSet type to collections 2022-04-17 19:36:31 +02:00
Folkert
4e315797b0
expose ImMap entry 2022-03-19 00:00:56 +01:00
Folkert
8b2c1707d4
don't even create a type if we only need a variable 2022-03-13 02:12:45 +01:00
Folkert
59c2c05588
add EitherIndex type 2022-03-13 01:44:47 +01:00
Folkert
fc4212310f
Merge remote-tracking branch 'origin/trunk' into solve-fully-tail-recursive 2022-03-05 18:34:09 +01:00
Folkert
c52029c2d1
the debugging begins 2022-03-02 20:30:42 +01:00
Folkert
fe48bdf5b1
make solve that uses new constraint 2022-03-02 19:43:03 +01:00
Folkert
0be23e23da
implement save the environment check 2022-03-02 18:59:13 +01:00