martinvonz added inline comments.

INLINE COMMENTS

> marmoute wrote in nodemap.py:47-49
> The Python code is not meant to be use in production, especially not the 
> parsing one (because it bring no advantage).
> 
> So I want the API to be named after the actual semantic, not after this 
> annecdotical python code.

The actual semantic of this code (the Python code) is to serialize the data. To 
me, "persist" implies writing it to disk, which is not what this code does. I 
think it's just misleading to call it that even if the Rust code will actually 
be writing directly to disk.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7834/new/

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

To: marmoute, #hg-reviewers, martinvonz
Cc: martinvonz, mjpieters, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to