Skip to content
This repository

Feb 28, 2014

  1. Neil Conway

    Code cleanup for metrics.

    Note that this code is actually broken :-\ I didn't take the time to either fix
    it or rip it out, but this at least improves matters slightly.
    neilconway authored

Feb 19, 2014

  1. Neil Conway

    Fix error in rescan/invalidation logic for nested notin.

    neilconway authored

Feb 16, 2014

  1. Neil Conway

    Update changelog.

    neilconway authored
  2. Neil Conway

    Merge pull request #324 from vjoel/rakefile

    add rakefile with test and release tasks; add version file
    neilconway authored

Feb 15, 2014

  1. Joel VanderWerf

    add rakefile with test and release tasks; add version file

    vjoel authored

Feb 14, 2014

  1. Neil Conway

    Minor refactor.

    neilconway authored

Jan 31, 2014

  1. Neil Conway

    Minor code cleanup.

    neilconway authored

Jan 16, 2014

  1. Neil Conway

    More minor refactoring of stratification code.

    neilconway authored
  2. Neil Conway

    Minor code cleanup for strat code.

    neilconway authored
  3. Neil Conway

    Tweak stratification algorithm.

    Previously, we computed the minimum legal strata for each relation, and then
    placed every rule with that relation in its LHS in that strata. That is not
    incorrect, but it is unnecessarily conservative. Consider a program like:
    
    (r1) a <= b
    (r2) a <= c.group(...)
    (r3) c <= d
    
    Clearly, r2 can only be evaluated after c has been completely determined, but we
    needn't wait for c to be determined before evaluating r1. Hence, we can place r1
    and r3 in stratum 0 and r2 in stratum 1.
    
    Along the way, add a new builtin relation, t_rule_stratum, that contains the
    stratum associated with each rule.
    neilconway authored

Jan 15, 2014

  1. Neil Conway

    Minor code cleanup for strat.

    neilconway authored
  2. Neil Conway

    Code cleanup for stratification logic.

    neilconway authored

Jan 04, 2014

  1. Neil Conway

    Merge pull request #323 from freenerd/master

    Fixing docs/getstarted.md example code
    neilconway authored

Jan 03, 2014

  1. Johan

    Fixing docs/getstarted.md example code

    Code snippets in the guide are fixed to be same as in /examples/chat
    freenerd authored

Dec 11, 2013

  1. Neil Conway

    Tweak new notin test case.

    neilconway authored
  2. Neil Conway

    Fix a bug in chaining multiple notins after a join.

    Somewhat obscure, but arises in RSE/GC-generated code. Basic problem is that we
    only want to call setup_accessors once; for lefts/rights, we were calling it
    multiple times. Unclear why that mucked things up, but it was certainly wrong
    anyway.
    
    On examination, the code for assigning a schema to a pairs join is completely
    bogus anyway (see comment) -- but I won't fix that for now.
    neilconway authored

Dec 04, 2013

  1. Neil Conway

    Tiny perf optimization.

    neilconway authored

Nov 24, 2013

  1. Neil Conway

    Minor code cleanup.

    Don't invoke #to_s on something that is always a String.
    neilconway authored

Nov 12, 2013

  1. Neil Conway

    Minor code cleanup for outer joins.

    neilconway authored
  2. Neil Conway

    Tweak comment.

    neilconway authored

Nov 11, 2013

  1. Neil Conway

    Fix typo.

    neilconway authored

Oct 15, 2013

  1. Neil Conway

    Minor refactor for BudCollection.

    Try to avoid directly accessing BudCollection fields like @delta, @tick_delta
    from outside BudCollection.
    neilconway authored
  2. Neil Conway

    Improve tc_metrics test.

    neilconway authored
  3. Neil Conway

    Minor perf tweak.

    Avoid a needless conjunction in a conditional.
    neilconway authored
  4. Neil Conway

    Remove unused BudCollection method.

    neilconway authored

Oct 14, 2013

  1. Neil Conway

    Fix typo in comment.

    neilconway authored
  2. Neil Conway

    Fix corner-case bug in BudCollection#include?

    If the collection has an empty set of key columns and a single tuple, we
    *cannot* assume that include?(t) is true for any t.
    neilconway authored

Oct 12, 2013

  1. Peter Alvaro

    Ensure that programs are only rejected as unstratifiable when negatio…

    …n occurs within a dependency cycle. Fixes #321.
    palvaro authored

Oct 03, 2013

  1. Neil Conway

    Don't mark <+ rules as non-monotonic.

    neilconway authored
  2. Neil Conway

    Fix a bug in the stratification algorithm.

    The previous coding was wrong -- in some cases, a cycle through negation was not
    detected correctly. This meant that some unstratifiable programs were not
    rejected (and instead we might produce incorrect results for them).
    
    Along the way, do some minor code cleanup.
    neilconway authored
  3. Neil Conway

    Update changelog.

    neilconway authored

Oct 01, 2013

  1. Neil Conway

    Fixes for TupleStruct.

    Adjust TupleStruct#hash and #eql? so that we can use TupleStructs and Arrays
    interchangably in more places. In particular, we can now add TupleStructs to a
    Set and have the Set compare as equal to a Set that contains the same values
    represented as Arrays.
    neilconway authored

Aug 29, 2013

  1. Neil Conway

    More minor refactoring for join code.

    neilconway authored
  2. Neil Conway

    Minor refactoring.

    neilconway authored

Aug 28, 2013

  1. Neil Conway

    Minor refactoring.

    neilconway authored
Something went wrong with that request. Please try again.