long constant list of pairs (was Re: Ways and Build Tags for Optimisation)

Christian Maeder maeder@tzi.de
Tue, 03 Jun 2003 16:54:24 +0200

> We had very long compilation times when optimization or profiling was 
> switched on, for a [(String, Int)] list with about 5000 entries.
> We worked around the problem by changing the list into a String 
> (escaping doublequotes) and using "read" to convert it to a list.

The big string, however, does not go through hugs:

- Maximum token length (4000) exceeded