Skip to content

Add BER encoding optimizations and an LDAP specific decoding helper. - #16

Merged
ChadSikorra merged 7 commits into
mainfrom
fix/optimizations
Oct 12, 2026
Merged

ChadSikorra merged 7 commits into
mainfrom
fix/optimizations

Conversation

@ChadSikorra

Copy link
Copy Markdown
Contributor

This is a handful of optimizations to the BER encoder as well as an LDAP specific helper for the decoding process, similar to the helper for the encoding process. It's needed to deal with decoding huge amounts of data in an efficient way. It speeds up decoding large number of entries with larger number of attributes by nearly 3x.

@codecov

codecov Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.74619% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.80%. Comparing base (d6cee05) to head (f037b17).

Files with missing lines Patch % Lines
src/FreeDSx/Asn1/Encoder/BerEncoder.php 99.46% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #16      +/-   ##
============================================
+ Coverage     95.55%   96.80%   +1.24%     
- Complexity      399      456      +57     
============================================
  Files            27       29       +2     
  Lines          1013     1313     +300     
============================================
+ Hits            968     1271     +303     
+ Misses           45       42       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ChadSikorra
ChadSikorra merged commit 7ae0e39 into main Oct 12, 2026
22 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