Question regarding custom types

In LuaU, does a table which uses a custom type have any memory usage reduction compared to if it was just a normal table?

Example:

--!strict

local typical_table = { -- standard table
	somekey0 = "hey",
	somekey1 = "hey",
}





type typical_table_type = {
	somekey0 : string,
	somekey1 : string,
}

local from_type : typical_table_type = { -- Any reductions in memory from typical_table?
	somekey0 = "hey",
	somekey1 = "hey",
}
1 Like