microsoft / proxy

Proxy: Next Generation Polymorphism in C++

Home Page:https://wg21.link/p3086

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[QoI] When the metadata of proxy is small enough, dereferencing the metadata can be eliminated

mingxwa opened this issue · comments

As mentioned in !65, the metadata is always stored as const typename BasicTraits::meta* in the memory layout of proxy. It can be replaced with const typename BasicTraits::meta when the metadata is small enough to improve addressing of vtable.