-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring for potential performance improvements in loops (#113)
* reviewed encoding language associations: caches and sets defined * use list comprehension for language association (#111) * use list comprehension and filter in char analysis (#111) * refactored variable inits in md.py * models: move regex compilation to constants * detection of Japanese characters: simplify syntax * amend detected_ranges semantics Co-authored-by: Aarni Koskela <akx@iki.fi> Co-authored-by: Ahmed TAHRI <ahmed.tahri@cloudnursery.dev>
- Loading branch information
1 parent
59e48eb
commit 42a7d3d
Showing
4 changed files
with
66 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters