Sayan Nandan
263a287edd
Fix double-free, use-after-free and other bugs in mtchm
...
The bug was actually because of my oversight in the VInline clone
impl for non-Copy Ts. Also added tests for worst case O(n)
performance.
2 years ago
Sayan Nandan
932bb4f58b
Fix remove len impl, use relaxed and add tests
2 years ago
Sayan Nandan
1920664273
Fix use-after-free in mtchm impl, add tests and add trait impls
2 years ago
Sayan Nandan
51622ba4d6
Add some smart pointers
2 years ago
Sayan Nandan
427ff72e42
Move iter into module for st seq idx
2 years ago
Sayan Nandan
b21162c4dc
Make st idx generic on alloc strategy
2 years ago
Sayan Nandan
3eb00f892f
Add insert test
2 years ago
Sayan Nandan
bec5e10f7b
Add mt idx empty tests
2 years ago
Sayan Nandan
c9ea051bd3
Put state into config
2 years ago
Sayan Nandan
900e10efd7
Add mt idx impl (copy)
2 years ago
Sayan Nandan
57c7a6447b
Add mt idx impls
2 years ago
Sayan Nandan
48ada558ad
Clarify idx trait definitions
...
MT idx impls would have a fairly different interface when compared to ST
equivalents.
2 years ago
Sayan
29baeb4996
Implement mtchm
2 years ago
Sayan Nandan
a59823fc48
Add misc lib changes
2 years ago
Sayan Nandan
f26e71512e
Fix segfaults in UArray impl
2 years ago
Sayan Nandan
6fcf87c040
Add misc bounds and impls for `TMCell`
2 years ago
Sayan Nandan
548ed53e16
Do not enforce a `Clone` bound in idx impls
2 years ago
Sayan Nandan
d831eb3a7c
Enable bi-directional iter on `VInline`
2 years ago
Sayan Nandan
89888483e2
Enable bi-directional iter on `UArray`
2 years ago
Sayan Nandan
86585ff864
Impl into_iter for `VInline`
2 years ago
Sayan Nandan
28b6ce0d96
Add misc trait impls for seq mem structures
2 years ago
Sayan Nandan
f63ec2d37d
Add `IntoIter` for `UArray`
2 years ago
Sayan Nandan
14c1d94027
Refactor `mem` modules
2 years ago
Sayan Nandan
49dfac11b5
Add remove and capacity optimization ops to VInline
...
Also updated tests to make debugging easier (the previous test simply
placed all operations in one test making it harder to debug any bugs)
2 years ago
Sayan Nandan
10a36fa77d
Add `UArray` definition
2 years ago
Sayan Nandan
ab30a74173
Re-export at mod level
2 years ago
Sayan Nandan
9d3115a7cf
Enable idx init with cap
2 years ago
Sayan Nandan
a9900e2bd6
Revise definitions for ST idx
2 years ago
Sayan Nandan
7a2e8e4b58
Impl idx traits for `StdMap`
2 years ago
Sayan Nandan
fa17f72519
Add `VInline` impl
2 years ago
Sayan Nandan
2dfe7227aa
Add `TMCell`
2 years ago
Sayan Nandan
44aa57a25a
Add sync module
2 years ago
Sayan Nandan
27e462fb4f
Refactor modules
2 years ago
Sayan Nandan
9d3cef9685
Add tests for ord index
2 years ago
Sayan Nandan
01f2bca81f
Add basic tests for ord index
2 years ago
Sayan Nandan
ae516b7168
Add Index trait impls
2 years ago
Sayan Nandan
29a4cceea1
Add ordered iter impls for ord idx
2 years ago
Sayan Nandan
b5ec9da926
Add ord index impls and fix UB
...
Added all basic impls for the ord index, also fixed dealloc on a nullptr
in drop impl
2 years ago
Sayan Nandan
530e76eca4
Add primitive methods to ord idx impl
2 years ago
Sayan Nandan
603ea85e8c
Add index definitions
2 years ago
Sayan Nandan
ee32df0916
Add iterator definitions to ME trait
2 years ago
Sayan Nandan
a116e49953
Add initial definition of `MemoryEngine`
2 years ago
Sayan Nandan
6736285df5
Fix README [skip ci]
2 years ago
Sayan Nandan
fd22b51183
Use `State` for all other DDL statements
2 years ago
Sayan Nandan
763007a98c
Use `State` for `CREATE` and `ALTER` statements
2 years ago
Sayan Nandan
2756b1d070
Simplify lit to owned data clone
2 years ago
Sayan Nandan
4d140c74fd
Support built-in fn substitution
2 years ago
Sayan Nandan
4b5c9c9952
Upgrade deps
2 years ago
Sayan Nandan
0f064e1087
Use `State` for more reliable QP
2 years ago
Sayan Nandan
1df6f33032
Remove `RawSlice` usage
...
This hasn't been an easy task, but I'm finally very happy that we've
gotten rid of all usage instances of `RawSlice` within `engine::ql`.
This is a great feat in terms of codebase cleanup, removing unnecessary
usage of `unsafe` code.
However, this had made lifetimes slightly more complex; for example, we
can no longer directly return from methods that use `&[Token]` since all
returned data is now bound to the same lifetime.
Either way, with some care such issues can be avoided.
2 years ago