Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary memory allocation #11

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Remove unnecessary memory allocation #11

merged 1 commit into from
Sep 19, 2024

Conversation

maruel
Copy link
Contributor

@maruel maruel commented Sep 19, 2024

Creating a 0 length slice is less efficient than a nil slice pointer.

Creating a 0 length slice is less efficient than a nil slice pointer.
@samber samber merged commit 14fd0ac into samber:main Sep 19, 2024
5 checks passed
renovate bot referenced this pull request in jippi/dottie Sep 19, 2024
….mod (#96)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/samber/slog-multi](https://redirect.github.com/samber/slog-multi)
| `v1.2.1` -> `v1.2.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsamber%2fslog-multi/v1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fsamber%2fslog-multi/v1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fsamber%2fslog-multi/v1.2.1/v1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsamber%2fslog-multi/v1.2.1/v1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>samber/slog-multi (github.com/samber/slog-multi)</summary>

###
[`v1.2.2`](https://redirect.github.com/samber/slog-multi/releases/tag/v1.2.2)

[Compare
Source](https://redirect.github.com/samber/slog-multi/compare/v1.2.1...v1.2.2)

#### What's Changed

- Remove unnecessary memory allocation by
[@&#8203;maruel](https://redirect.github.com/maruel) in
[https://github.com/samber/slog-multi/pull/11](https://redirect.github.com/samber/slog-multi/pull/11)

#### New Contributors

- [@&#8203;maruel](https://redirect.github.com/maruel) made their first
contribution in
[https://github.com/samber/slog-multi/pull/11](https://redirect.github.com/samber/slog-multi/pull/11)

**Full Changelog**:
samber/slog-multi@v1.2.1...v1.2.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* */1 * * *" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/jippi/dottie).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

2 participants