Niko Matsakis
d6934ac247
adopt NonZeroU32
2019-03-31 06:49:41 -03:00
Niko Matsakis
9b106e9279
do not expose that RawId is stored in a u32
2019-03-31 06:46:29 -03:00
Niko Matsakis
da1b26a52e
adopt raw-id
2019-03-30 06:43:16 -03:00
Niko Matsakis
4e5395e5b3
Merge pull request #156 from nikomatsakis/release-0.11.1
...
release 0.11.1
2019-03-27 09:31:39 -04:00
Niko Matsakis
4b976166fd
release 0.11.1
...
- Includes a fix so that interned keys can be send (#155 )
2019-03-27 09:24:55 -04:00
Niko Matsakis
9d80839d30
Merge pull request #155 from matklad/send
...
make sure interned state is send
2019-03-27 09:23:28 -04:00
Aleksey Kladov
9d6236bc79
make sure interned state is send
2019-03-27 14:33:59 +03:00
Niko Matsakis
a952a7849f
Merge pull request #154 from nikomatsakis/release-0.10.1
...
release 0.11.0
2019-03-27 05:52:32 -04:00
Niko Matsakis
31235aaa96
release 0.11.0
...
Changes:
- Add interned keys to salsa (#150 ) -- see salsa-rs/salsa-rfcs#2
for more details.
- Fix bugs re: GC and volatile queries
- Optimization for GC (#144 ), though I think this later got undone
as part of the bug fixes =)
2019-03-27 05:37:26 -04:00
Niko Matsakis
3925337a3c
Merge pull request #150 from nikomatsakis/salsa-interned
...
add interned keys to salsa
2019-03-27 05:16:03 -04:00
Niko Matsakis
5c7e2fee09
s/AtomicU32/AtomicUsize/ in tests
2019-03-25 14:40:32 -04:00
Niko Matsakis
f0d2b964e2
bump syn to 0.15.29
...
(older versions didn't have the `syn::Result` type, it seems?)
2019-03-22 18:40:35 -04:00
Niko Matsakis
c040b0c673
fix gc and volatile tests
2019-03-22 16:24:37 -04:00
Niko Matsakis
6cf1ffd24a
test reverse lookup after we have reused slots and the like
2019-03-22 05:20:00 -04:00
Niko Matsakis
791ec3065c
elaborate a bit more on the GC tests
2019-03-22 05:18:32 -04:00
Niko Matsakis
c5795a3e5c
only GC outdated intern keys
2019-03-22 05:13:07 -04:00
Niko Matsakis
9689d4471b
revert take_while changes, which were just .. wrong
2019-03-22 04:58:47 -04:00
Niko Matsakis
f9fe9e4f07
add missing HasQueryGroup
2019-03-13 05:34:56 -04:00
Niko Matsakis
c8b30c52e1
nit: change filter
to take_while
to make clear we stop early
...
i.e., we never proceed after we find *something* that is dirty.
2019-03-13 05:30:03 -04:00
Niko Matsakis
7d5d01104c
document the logic from a FIXME and improve panics
2019-03-13 05:27:14 -04:00
Niko Matsakis
7dcdad88e3
convert to <=
when comparing against std::u32::MAX
2019-03-13 05:18:35 -04:00
Niko Matsakis
7ed24f0fa3
use InternIndex
also to represent indices from the user
2019-03-13 05:18:35 -04:00
Niko Matsakis
71f250d037
WIP fix DiscardIf::Always, thanks matklad :)
2019-03-12 09:26:46 -04:00
Niko Matsakis
f48515747c
create a true inverse key for the lookup path
2019-03-12 08:55:37 -04:00
Niko Matsakis
56ef78109a
remove send/sync bounds
2019-02-04 22:10:05 +01:00
Niko Matsakis
1fbd61bf87
adopt InternKey trait
2019-02-04 21:01:58 +01:00
Niko Matsakis
e3f5eb6ee8
implement #[salsa::interned]
query storage
2019-02-03 20:45:52 +01:00
Niko Matsakis
312467c981
fix travis.yml
2019-01-31 16:02:28 -05:00
Niko Matsakis
d2533df418
Merge pull request #146 from nikomatsakis/salsa-book
...
introduce the basic structure of a book (very much a WIP)
2019-01-31 15:57:37 -05:00
Niko Matsakis
fd61e392d0
update travis to test book and publish
2019-01-31 10:33:28 -05:00
Niko Matsakis
e5d9409d46
introduce the basic structure of a book (very much a WIP)
2019-01-30 05:58:41 -05:00
Niko Matsakis
d9098e30cf
Merge pull request #145 from nikomatsakis/salsa-videos
...
add links to the videos
2019-01-29 15:17:46 -05:00
Niko Matsakis
fc60346e23
Merge pull request #144 from matklad/gc-all-the-things
...
just clear the table if we are goining to collect everything
2019-01-29 15:17:27 -05:00
Niko Matsakis
57174e2c63
add links to the videos
2019-01-29 15:17:02 -05:00
Aleksey Kladov
e3c07b010a
fast-path no-op gc as well
2019-01-29 19:41:15 +03:00
Aleksey Kladov
f9cae4f2eb
just clear the table if we are goining to collect everything
2019-01-29 17:30:43 +03:00
Niko Matsakis
d33a2ac36a
Merge pull request #143 from nikomatsakis/publish-0.10.0
...
release 0.10.0
2019-01-28 05:10:44 -05:00
Niko Matsakis
1736115d9f
release 0.10.0
...
- GC API now more orthogonal + flexible (#138 )
- Removed `set_unchecked` testing mechanism (#141 )
- Generated enums now squelch `non_camel_case_types` lint (#135 )
- Tests now using `set_foo` (#139 )
- `Query::group_storage` now called `Query::query_storage` (#142 )
Contributors to this release:
- @matklad
- @memoryruins
- @nikomatsakis
2019-01-28 05:06:54 -05:00
Niko Matsakis
a9fe8d7d9e
Merge pull request #142 from nikomatsakis/rename-group-storage
...
rename `Query::group_storage` method to `Query::query_storage`
2019-01-28 05:06:40 -05:00
Niko Matsakis
58ba8ac425
rename Query::group_storage
method to Query::query_storage
2019-01-28 05:01:53 -05:00
Niko Matsakis
1002d7e70a
Merge pull request #138 from matklad/flexible-gc
...
Make GC API more orthogonal and flexible
2019-01-28 04:51:02 -05:00
Niko Matsakis
3dc4539c7c
Merge pull request #139 from memoryruins/convert-tests
...
convert tests to use generated set methods
2019-01-28 04:48:07 -05:00
Niko Matsakis
541b4beade
Merge pull request #141 from memoryruins/remove-unchecked-set-trait
...
remove `UncheckedMutQueryStorageOps` trait
2019-01-28 04:47:38 -05:00
memoryruins
db24e677e3
convert tests to use generated set methods
2019-01-28 00:50:09 -05:00
memoryruins
ebd4990bde
remove UncheckedMutQueryStorageOps
2019-01-27 17:52:53 -05:00
Niko Matsakis
28af2988e9
Merge pull request #140 from memoryruins/remove-unchecked
...
remove set_unchecked methods
2019-01-27 17:07:12 -05:00
memoryruins
7d12f4f93a
remove set_unchecked methods
2019-01-27 17:01:00 -05:00
Aleksey Kladov
9387fd2f4d
more orthogonal naming
2019-01-27 17:14:57 +03:00
Aleksey Kladov
d01d6ed511
Make GC API more orthogonal and flexible
...
Now, the effect of GC is a "product" of three parameters:
* what values are affected (everything/everything except used)
* are we removing values
* are we removing deps
SweepStrategy::default is now a no-op GC.
2019-01-26 21:38:15 +03:00
Niko Matsakis
1b9aaf2599
Merge pull request #135 from nikomatsakis/non-camel-case-types
...
apply `non_camel_case_types` to the enum variant
2019-01-26 08:01:35 -05:00