Skip to content

2X faster & represent deleted character as MappingPos(pos=(x, x), deleted=True) instead for None#7

Merged
obadx merged 4 commits intomainfrom
feat-sharh
Feb 12, 2026
Merged

2X faster & represent deleted character as MappingPos(pos=(x, x), deleted=True) instead for None#7
obadx merged 4 commits intomainfrom
feat-sharh

Conversation

@obadx
Copy link
Copy Markdown
Owner

@obadx obadx commented Feb 12, 2026

  • 2X faster by handling no op operation in MappingPos.add_tajweed_rule and doing inplace mapping instead of creating new lists
  • represent deleted character as MappingPos(pos=(x, x), deleted=True) instead for None for more clean code and representing Tajweed rules of deletions like حذف حرف المد للاتقاء الساكنين

@obadx obadx merged commit 7032b09 into main Feb 12, 2026
5 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