this post was submitted on 18 Oct 2023
2 points (100.0% liked)

Programming

17101 readers
129 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

I don’t remember the first time I saw this word but I suspect the word multiplex is not the proper one. How would you name this:

Shot name is multiplexed as 15:17, where:
* The first 15 bits stores the sequence number.
* The last 17 bits stores the shot number.

Thanks in advance!

EDIT: Thanks all! So it seems packed is the proper word. With pack/unpack being the name of the process.

you are viewing a single comment's thread
view the rest of the comments
[–] BradleyUffner 9 points 11 months ago (1 children)

I've seen this referred to as a "packed" field in some cases.

[–] WhaleScenery 4 points 11 months ago* (last edited 11 months ago) (1 children)

Yeah that’s a good suggestion. A common way to refer to low-level memory structures e.g. C structs. Bit packing, padding, and alignment.

https://en.m.wikipedia.org/wiki/Data_structure_alignment

[–] Narann 1 points 11 months ago

Mandatory link when we talk about padding and alignment: The Lost Art of Structure Packing.