NOTE: this lab is currently broken. After migrating to a new compiler version the speedup is no longer measurable consistently. You can still try to solve it to learn the concept, but the result is not guaranteed.
This is a lab about data packing.
You can decrease the memory traffic of the application if you pack the data more efficiently. Some of the ways to do that include:
- Eliminate compiler-added padding.
- Use types that require less memory or less precision e.g. (int -> short, double -> float).
- Use bitfields to pack the data even further.