gstvrmrlpz / energy

Energy consumption of EC implementations in several programming languages
GNU General Public License v3.0
1 stars 0 forks source link

¿Hay estructuras de datos que sean bitpacked? #5

Closed JJ closed 1 week ago

JJ commented 3 months ago

Quizás usar estructuras de datos bitpacked como Unions

gstvrmrlpz commented 3 months ago

bitset y vector ya son "bit packed". std::string no puesto que consume un "char" por cada bit.

JJ commented 3 months ago

Dejo abierto para añadir a documentación.

gstvrmrlpz commented 2 months ago

Classification of data structures:

  1. bitset.cc: bitpacked
  2. bvector.cc: bitpacked
  3. cvector.cc: no bitpacked
  4. dbitset.cc: bitpacked
  5. string.cc: no bitpacked
gstvrmrlpz commented 1 week ago

hecho antes del verano...