You probably couldn't do pointer tagging anymore, which is probably a substantial performance loss.

Am Mi., 12. Feb. 2020 um 19:58 Uhr schrieb Csaba Hruska <csaba.hruska@gmail.com>:
Hello,

In theory could GHC codegen work if every data constructor in the whole program  have a globally unique tag value instead of starting from 1 for each algebraic data type?
Would this break any GHC design decision?

Regards,
Csaba
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs