[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Use heuristic for analysis database size
From: |
Felix |
Subject: |
Re: [Chicken-hackers] [PATCH] Use heuristic for analysis database size |
Date: |
Sun, 12 Feb 2012 14:41:44 +0100 (CET) |
From: Peter Bex <address@hidden>
Subject: [Chicken-hackers] [PATCH] Use heuristic for analysis database size
Date: Sat, 11 Feb 2012 18:53:48 +0100
> Since the numbers tests bottleneck was worst in analysis phase 2, this
> gave me the idea to re-use the previous run's total number of hash table
> entries as a predictor of the next run's size; the database only shrinks
> during the compiler's run as variables are eliminated or replaced by
> constants, so it would normally be a good, but slightly optimistic guess.
Very nice idea, indeed. Signed off and pushed.
cheers,
felix