Skip to content

Small improvements#65

Draft
Repsay wants to merge 2 commits intoNetherlandsForensicInstitute:masterfrom
Repsay:small-improvements
Draft

Small improvements#65
Repsay wants to merge 2 commits intoNetherlandsForensicInstitute:masterfrom
Repsay:small-improvements

Conversation

@Repsay
Copy link

@Repsay Repsay commented Mar 12, 2025

Some small improvements for optimizations. Added fallback encodings. de-nest lot of code in clean_up. split between bytes processing and string processing to reduce unnecessary re-encoding/decoding. Instead of stop use continue to speed up processing. Instead of changing locale use it directly in opening the file. Part of #60. Builds on #64

Repsay added 2 commits March 12, 2025 20:29
First part of NetherlandsForensicInstitute#60 to split in parts. First just adding type hinting and making PEP8 compliant. Small improvements and fixing small bugs. Removing changing global variables.
Some small improvements for optimizations. Added fallback encodings. de-nest lot of code in clean_up. split between bytes processing and string processing to reduce unnecessary re-encoding/decoding. Instead of stop use continue to speed up processing. Instead of changing locale use it directly in opening the file. Part of NetherlandsForensicInstitute#60
@Repsay Repsay mentioned this pull request Mar 13, 2025
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