Closed ddobrev closed 7 years ago
We should switch from explicit to sequential layouts because this way incorrect layouts - with holes or incorrect sizes - will crash immediately and thus there won't be any more hidden bugs. This depends on https://github.com/mono/CppSharp/issues/665 and https://bugzilla.xamarin.com/show_bug.cgi?id=33571 to be fixed first.
Because of alignments, packing and padding, sequential layouts pose a significant risk while offering doubtful, if any, benefits in performance. Closing as an invalid issue.
We should switch from explicit to sequential layouts because this way incorrect layouts - with holes or incorrect sizes - will crash immediately and thus there won't be any more hidden bugs. This depends on https://github.com/mono/CppSharp/issues/665 and https://bugzilla.xamarin.com/show_bug.cgi?id=33571 to be fixed first.