casey / casey/x-serialization-format

Should chars be encoded as [u8; 3] or [u8; 4]?

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

A `char` can fit in a `[u8; 3]`, but rust chars are 32 bits. I feel like I might as well save the extra byte, but I wonder if there's any downside to doing so. I fell like there probably isn't.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.