For examle:
let me: School.person = {age: 20, name: “Big Reason”};
becomes:
var me = /* record /[
/ age /20,
/ name */“Big Reason”
];
I mean, creation of Array where all elements have different type is not efficient in V8 context.
For examle:
let me: School.person = {age: 20, name: “Big Reason”};
becomes:
var me = /* record /[
/ age /20,
/ name */“Big Reason”
];
I mean, creation of Array where all elements have different type is not efficient in V8 context.
There’s some discussion about this here: https://github.com/BuckleScript/bucklescript/issues/2922