Skip to content

optimise: remove unnecessary BitArray#607

Merged
codebude merged 2 commits intoShane32:masterfrom
TimothyMakkison:unneeded_allocation
Sep 29, 2025
Merged

optimise: remove unnecessary BitArray#607
codebude merged 2 commits intoShane32:masterfrom
TimothyMakkison:unneeded_allocation

Conversation

@TimothyMakkison
Copy link
Copy Markdown
Contributor

Summary

Removes unnecessary BitArray allocation

@codebude codebude merged commit eebbd2d into Shane32:master Sep 29, 2025
1 of 4 checks passed
@Shane32 Shane32 added this to the 1.7.0 milestone Oct 2, 2025
vaernion pushed a commit to Arbeidstilsynet/brevgen2 that referenced this pull request Dec 3, 2025
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [QRCoder](https://github.com/codebude/QRCoder/) ([source](https://github.com/Shane32/QRCoder)) | `1.6.0` -> `1.7.0` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/QRCoder/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/QRCoder/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/QRCoder/1.6.0/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/QRCoder/1.6.0/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>Shane32/QRCoder (QRCoder)</summary>

### [`v1.7.0`](https://github.com/Shane32/QRCoder/releases/tag/v1.7.0)

#### New Features

- Add Micro QR code support by [@&#8203;Shane32](https://github.com/Shane32) in [#&#8203;592](Shane32/QRCoder#592)

#### Performance Enhancements

- optimise: remove unnecessary `BitArray` by [@&#8203;TimothyMakkison](https://github.com/TimothyMakkison) in [#&#8203;607](Shane32/QRCoder#607)
- Reduced some allocations in `QRCodeGenerator` (NETCORE\_APP only) by [@&#8203;gfoidl](https://github.com/gfoidl) in [#&#8203;595](Shane32/QRCoder#595)
- PngByteQRCode: use `ArrayPool.Rent` to prevent `byte[]` allocation by [@&#8203;TimothyMakkison](https://github.com/TimothyMakkison) in [#&#8203;615](Shane32/QRCoder#615)
- Optimize compression/decompression and add tests by [@&#8203;Shane32](https://github.com/Shane32) in [#&#8203;611](Shane32/QRCoder#611)
- Change PdfByteQRCode to draw rectangles instead of embed JPGs by [@&#8203;Shane32](https://github.com/Shane32) in [#&#8203;635](Shane32/QRCoder#635)
- Optimize PDF path algorithm by using RLE by [@&#8203;Shane32](https://github.com/Shane32) in [#&#8203;650](Shane32/QRCoder#650)
- Add postscript renderer optimizations by [@&#8203;Shane32](https://github.com/Shane32) in [#&#8203;651](Shane32/QRCoder#651)
- Add optimization to GetRawData by [@&#8203;Shane32](https://github.com/Shane32) in [#&#8203;653](Shane32/QRCoder#653)
- Add ASCII renderer optimizations by [@&#8203;Shane32](https://github.com/Shane32) in [#&#8203;652](Shane32/QRCoder#652)
- Add path-based SVG rendering with RLE encoding to reduce file size and memory usage by [@&#8203;Shane32](https://github.com/Shane32) in [#&#8203;655](Shane32/QRCoder#655)
- optimise: fill `QRCode` with one colour by [@&#8203;TimothyMakkison](https://github.com/TimothyMakkison) in [#&#8203;626](https://github.com/Shane32/Q...
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.

3 participants