Menu

Src (SVN)-old Commit Log


Commit Date  
[r8988] by "kifer"

fixed a bug that was confusing gpp

2017-03-17 20:49:38 Tree
[r8987] by dwarren

Fix a bug in new dynamic loading in handling export statements, and
to give an error in a case of wrong order of export/use that introduced an
inconsistency.

2017-03-17 17:06:26 Tree
[r8986] by dwarren

/dll flag needs to be /DLL on some MSVC compilers.

2017-03-17 01:56:54 Tree
[r8985] by tswift

Mostly updated information about statistics/0, which had gotten out of date.

2017-03-14 22:52:05 Tree
[r8984] by dwarren

Made load_dyn and load_dync load modules correctly as the compiler
(with minor caveats).
Added psc_find.

2017-03-09 21:52:26 Tree
[r8983] by dwarren

Added builtin psc_find to find a psc record without adding it if it's not there.
Made a getc safer for general character codes (noticed when checking
windows problem.)

2017-03-09 21:50:19 Tree
[r8982] by tswift

Somehow current_prolog_flag/2 got broken for the var,var mode. Fixed.

2017-03-04 15:52:46 Tree
[r8981] by dwarren

Many changes to expand/improve system.
(Documentation needs updating.)

2017-03-01 22:01:43 Tree
[r8980] by tswift

Change to fix a bug shown up by hypothetical reasoning in Flora.
There was a problem in determining when an incrementally recomputed
subgoal was actually changed: specifically when recomputation does not
find as many answers as it did previously. The code handles this case
by keeping a counter field in the previous callnodepointer, called
no_of_answers. When a call is being computed, no_of_answers is
incremented for each new answer. When recomputed no_of_answers for
the *previous* call is decremented. In this case, if no_of_answers
for the previous call is greater than 0, we know that the recomputed
subgoal has fewer answers than previously. Otherwise if no_of_answers
== 0, and some other conditions hold we know that the recomputed
subgoal is unchanged, so that we can propagate_no_change, decrementing
the falsecounts of other subgoals in the IDG.

The problem was that for rederived answers (as opposed to new answers)
the no_of_answers was not being incremented. This meant that in
certain cases, propagate_no_change was being incorrectly called,
preventing some subgoals from being recomputed. So it was a simple 1
line fix.

Its a little surprising that we didn't notice this bug before. The
following example illustrates the conditions. 1) a single answer A is
added to an incr subgoal S. 2) S is recomputed, and A is rederived
(with no other answers): here no_of_answers stays 0 for S:2. 3) S is
recomputed again, but now A is not rederived. Since no_of_answers for
S:2 is 0, and since we only ever computed A for any version of S, S:3
is seen as unchanged and propagate_no_change is called. If
furthermore there is a goal S' affected by S:3 and only by S:3, its
falsecount becomes 0, and S' is never recomputed. Of course the
conditions are somewhat more general, but a similar sequence of
actions and constraints would need to transpire. So maybe its not too
terribly surprising.

2017-02-26 23:57:49 Tree
[r8979] by dwarren

Improved handling of variables in group-by arguments it lattice answer
subsumption. Not perfect, but better.

2017-02-25 17:04:25 Tree
Older >
MongoDB Logo MongoDB