Skip to content

force inline on needed functions for smaller binary size#10

Merged
iamcodemaker merged 1 commit intoiamcodemaker:masterfrom
chidea:master
Feb 25, 2023
Merged

force inline on needed functions for smaller binary size#10
iamcodemaker merged 1 commit intoiamcodemaker:masterfrom
chidea:master

Conversation

@chidea
Copy link
Contributor

@chidea chidea commented Feb 8, 2023

These inline tags lead to 634 bytes total added size to binary with maximum optimization options for wasm while 1,412 bytes are added when these inline tags removed.
Although, case using color feature will not really going to be helped much.
Here are profile options used for size optimization.

[profile.release]
lto = true
opt-level = "z"
panic = "abort"
strip = "debuginfo"
codegen-units = 1

Also, wee_alloc crate was used for #[global_allocator].

Copy link
Owner

@iamcodemaker iamcodemaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks ok to me. I'll try and get this merged and push a new release within a few days.

@iamcodemaker iamcodemaker merged commit 162b362 into iamcodemaker:master Feb 25, 2023
@iamcodemaker
Copy link
Owner

Published v0.2.1

crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Mar 15, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [console_log](https://github.com/iamcodemaker/console_log) | dependencies | patch | `0.2.1` -> `0.2.2` |

---

### Release Notes

<details>
<summary>iamcodemaker/console_log</summary>

### [`v0.2.2`](https://github.com/iamcodemaker/console_log/releases/tag/0.2.2)

#### What's Changed

-   remove trailing semicolon from macro by [@&#8203;escobar-west](https://github.com/escobar-west) in iamcodemaker/console_log#12

#### New Contributors

This is the first time generating release notes, so not all of these contributions are in this release. I still wanted to recognize the contributions.

-   [@&#8203;azriel91](https://github.com/azriel91) made their first contribution in iamcodemaker/console_log#6
-   [@&#8203;neurosie](https://github.com/neurosie) made their first contribution in iamcodemaker/console_log#7
-   [@&#8203;dependabot-preview](https://github.com/dependabot-preview) made their first contribution in iamcodemaker/console_log#8
-   [@&#8203;chidea](https://github.com/chidea) made their first contribution in iamcodemaker/console_log#10
-   [@&#8203;escobar-west](https://github.com/escobar-west) made their first contribution in iamcodemaker/console_log#12

**Full Changelog**: https://github.com/iamcodemaker/console_log/commits/0.2.2

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE1OS4yIn0=-->

Co-authored-by: cabr2-bot <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1814
Reviewed-by: crapStone <crapstone@noreply.codeberg.org>
Co-authored-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
Co-committed-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
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