Skip to content

Latest commit

 

History

History
 
 

data_packing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Data packing

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.