This will be useful in particular to avoid going through the Python interpreter
in native Rust functions.
Details
Details
- Reviewers
indygreg Alphare - Group Reviewers
hg-reviewers - Commits
- rHGe633e660158f: revlog: implement fast_rank retrieval in C
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
mercurial/cext/revlog.c | ||
---|---|---|
596–600 | I _think_ our clang-format policy requires braces around if. I could be wrong. But, I personally prefer we always use if { to avoid bugs. | |
3298 | This version (and its reference in the Python code I believe) needs to be incremented to 3 since a field was added to Revlog_CAPI. |
mercurial/cext/revlog.c | ||
---|---|---|
596–600 | It does not, but I agree that this is easily prone to bugs. |
I _think_ our clang-format policy requires braces around if. I could be wrong. But, I personally prefer we always use if { to avoid bugs.