D5438: rust-cpython: implementing Graph using C parents function

gracinet (Georges Racinet) phabricator at mercurial-scm.org
Thu Dec 27 13:45:23 EST 2018


gracinet added a comment.


  @yuja, thanks for the queueing !
  
  > Index could be backed by e.g. Rc<RefCell<_>> to allow any objects to own
  >  <G: Index> copies, but I don't feel like this is a good design.
  
  If we want one day to have Mercurial work in a multi-threaded way, I guess that something like `Arc<RWLock<_>>` would be about necessary for an index implemented in Rust. But anyway, we are thinking alike.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5438

To: gracinet, #hg-reviewers
Cc: yuja, durin42, kevincox, mercurial-devel


More information about the Mercurial-devel mailing list