Skip to content
Snippets Groups Projects
Commit ae65549e authored by rtoy's avatar rtoy
Browse files

In some situations, the compiler spends an enormous amount of time

computing the union of a bunch of disjoint integer types, usually from
some DO loop.  This fix implements a hack to short-circuit that case
by checking to see if the union is long enough and instead of
returning the precise union, we return the smallest interval that
contains all of the integer types in the union.  The max length of the
union is set by *union-length-threshold*, defaulting to 50.

This is a gross hack.  We should do something better than this.
parent 249f5588
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment