<div dir="ltr">You probably couldn't do <a href="https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/haskell-execution/pointer-tagging">pointer tagging</a> anymore, which is probably a substantial performance loss.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mi., 12. Feb. 2020 um 19:58 Uhr schrieb Csaba Hruska <<a href="mailto:csaba.hruska@gmail.com">csaba.hruska@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>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?<br></div><div>Would this break any GHC design decision?</div><div><br></div><div>Regards,</div><div>Csaba<br></div></div>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>