Performance techniques for converting Object to structures

If you’re converting Object expressions to structures, you can tweak your code for a drastic performance improvement.   Because unboxing a Nothing reference throws an exception, a conversion from Object to a structure involves testing for a Nothing reference before performing the unbox.  For example:   Structure Foo     Public a As Integer     Public b As Integer…

2