GHC Compile-time optimisation idea


GHC Compile-time optimisation idea

It seems that deriving instances in GHC takes a long time: http://ift.tt/2vqlwSz

This may be a silly idea or it may have already been implemented: Can we cache the derived instances once they've been derived? Would it be sound to only invalidate those caches when the data type or type class has been changed?

Submitted July 16, 2017 at 01:46PM by NorfairKing
via reddit http://ift.tt/2v5XFZd

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s