ldionne / dyno

Runtime polymorphism done right
Boost Software License 1.0
975 stars 43 forks source link

Could we use a compressed vptr in some cases? #23

Open ldionne opened 7 years ago

ldionne commented 7 years ago

When we have a bounded number of possible alternatives in a poly, we could perhaps use an index with just a small number of bits instead of a full pointer.