Skip to content

Initial version of native binary coverage database#44

Merged
mballance merged 4 commits intomasterfrom
mballance/ncdb
Feb 28, 2026
Merged

Initial version of native binary coverage database#44
mballance merged 4 commits intomasterfrom
mballance/ncdb

Conversation

@mballance
Copy link
Copy Markdown
Member

No description provided.

mballance and others added 4 commits February 26, 2026 16:03
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
The pure-Python fallback functions in _accel/__init__.py were calling
back into ucis.ncdb.varint.encode_varints/decode_varints.  Since varint.py
successfully imports from _accel (no exception raised), _HAVE_ACCEL is True
and varint's bulk functions delegate back to _accel, creating infinite
mutual recursion (RecursionError in CI).

Fix: inline the LEB128 encode/decode logic directly in the _accel
fallback functions instead of re-importing from varint.py.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
@mballance mballance merged commit f0e22fd into master Feb 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant