Comments (11)
Want to submit a PR?
It seems fairly straight forward, so I think I'd prefer to leave it open for someone with less experience to pick up. I am open to mentoring or pair programming or answering questions for anyone that does want to give it a try.
from left-right.
Want to submit a PR?
It seems fairly straight forward, so I think I'd prefer to leave it open for someone with less experience to pick up. I am open to mentoring or pair programming or answering questions for anyone that does want to give it a try.
I'll give it a shot. I'm confident with Rust, not so much with open source development.
from left-right.
PR made.
from left-right.
I would think that you would change this line to left-right = { path = "../left-right", version = "0.11.0" }
. That tells Cargo to use the path for development but depend on the next crates.io version on publish. But I don't know why that is set up to depend on the version from crates.io
now, so we may want @jonhoo's explanation of the current set up.
from left-right.
Oh, interesting, I didn't even know that traits could have associated constants now. Absolutely! Want to submit a PR? I don't think it'll make much difference in practice, but it is maybe a little nicer. It is a breaking change to left-right
, but I think that's fine since it's so new and still pre-1.0
.
One thing I do worry about with DropBehavior
is that the compiler gets smart enough that it recognizes that the Drop
implementation for Aliased<_, NoDrop>
is a no-op, and therefore decides to lay it out differently in memory. I don't think that's something it does, but it is something that making it a constant will make it more likely optimization. But that said, if that optimization is possible, it would make what we're doing unsound regardless of whether it's an associated const or an fn
, so the change is likely a good one anyway.
from left-right.
Let us know how we can help!
from left-right.
Will do!
from left-right.
Since evmap depends on the crates.io version of left-right, how should I handle propagating this change into evmap? Or should I leave the changes just to left-right.
from left-right.
Yeah, that works fine. All tests pass under new implementation, holding off on any more commits though until we get some feedback on the structure.
from left-right.
@Eh2406 is exactly right that left-right
needs to become a path dependency to use the new behavior of left-right
until I do a release. I commented in the PR :)
from left-right.
This was fixed in #87.
from left-right.
Related Issues (20)
- Support for no_std? HOT 5
- i saw the presentation, will it take a lot of CPU like spinlock while write is waiting? HOT 1
- Why you dont use Crossbeam Epoch?? i have question about this please help HOT 1
- Recoverable errors from fallible operation HOT 5
- Memory bloat when using with async runtime HOT 2
- Possible to shallowcopy a HashMap HOT 1
- #[derive(ShallowCopy)] has prohibitive "T: ShallowCopy" bound HOT 4
- Thread Safety Error on ReadHandler HOT 3
- Why not make `map_ref` of `ReadGuard` public? HOT 1
- Recreating WriteHandle after its dropped HOT 2
- RFC: Hash and Eq requirement for values HOT 4
- Replace Clone bound with Freeze HOT 4
- Possible UB from Box<T> aliasing HOT 7
- data races due to incorrect `Send + Sync` bounds HOT 3
- Relaxation of epoch invariant HOT 2
- rollback HOT 5
- Switch oplog to VecDeque HOT 1
- A potential alternative to epochs, if it works HOT 1
- Is there a way to get the backing data structure out? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from left-right.