From the ABI Stability manifesto: "The value witness table stores whether a type is trivial and/or bitwise movable, whether there are extra inhabitants and if so how to store and retrieve them, etc. For enums, the value witness table will also provide functionality for interacting with the discriminator. There may be more efficient ways of representing enums that simplify this functionality (or provide a fast path), and that's under investigation"
bob-wilson commentedMar 24, 2017
Additional Detail from JIRA
md5: e442adb143a8f1f5e41463146abc2a5a
Issue Description:
As part of ABI stability, we should review the efficiency of interacting with the enum discriminator through the witness table
The text was updated successfully, but these errors were encountered: