Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jswalens/transactional-futures
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: transactional-futures-1.0
Choose a base ref
...
head repository: jswalens/transactional-futures
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: transactional-futures-2.0
Choose a head ref
  • 14 commits
  • 5 files changed
  • 1 contributor

Commits on May 11, 2015

  1. Add test for custom resolve function. Still fails obviously.

    Janwillem Swalens committed May 11, 2015
    Configuration menu
    Copy the full SHA
    dca8e96 View commit details
    Browse the repository at this point in the history
  2. Create snapshot when creating transactional future; although still un…

    …used for now.
    Janwillem Swalens committed May 11, 2015
    Configuration menu
    Copy the full SHA
    aeb4825 View commit details
    Browse the repository at this point in the history
  3. Add support for custom resolve function. Test succeeds.

    Janwillem Swalens committed May 11, 2015
    Configuration menu
    Copy the full SHA
    e7ee2b9 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2015

  1. Add more tests.

    Exposes bug, still to solve.
    Janwillem Swalens committed May 12, 2015
    Configuration menu
    Copy the full SHA
    1cee1bd View commit details
    Browse the repository at this point in the history
  2. Fix bug when there is no "original" or "parent" value.

    Janwillem Swalens committed May 12, 2015
    Configuration menu
    Copy the full SHA
    2a9c275 View commit details
    Browse the repository at this point in the history
  3. Slightly nicer code.

    Janwillem Swalens committed May 12, 2015
    Configuration menu
    Copy the full SHA
    35f30d4 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2015

  1. Synchronize access to LockingTransaction.futures, preventing Concurre…

    …ntModificationException.
    Janwillem Swalens committed May 20, 2015
    Configuration menu
    Copy the full SHA
    25cd51c View commit details
    Browse the repository at this point in the history

Commits on May 27, 2015

  1. Make final, as suggested by lint tool.

    Janwillem Swalens committed May 27, 2015
    Configuration menu
    Copy the full SHA
    b84730c View commit details
    Browse the repository at this point in the history
  2. Less copying of vals, by linking hash maps.

    Not done yet, but passes tests.
    Janwillem Swalens committed May 27, 2015
    Configuration menu
    Copy the full SHA
    7690c6d View commit details
    Browse the repository at this point in the history
  3. 1. Don't store snapshot by copying, but by refering to right "Vals".

    2. Avoid checking if key exists to then get it, just get it directly and check for null. Avoids going through linked chain of maps.
    Janwillem Swalens committed May 27, 2015
    Configuration menu
    Copy the full SHA
    8b1ac76 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2015

  1. Vals.entrySet was really slow, as a result, committing took a lot of …

    …time.
    
    Try to solve this by adding custom ValsIterator to Vals and using that.
    Vals does not implement Map anymore, and ValsIterator does not implement Iterator.
    Janwillem Swalens committed May 28, 2015
    Configuration menu
    Copy the full SHA
    6a7ac00 View commit details
    Browse the repository at this point in the history
  2. Completely avoid iterating over vals (and having to create a set) by …

    …using the existing set "sets" of set (and commuted) refs.
    Janwillem Swalens committed May 28, 2015
    Configuration menu
    Copy the full SHA
    baa0e1b View commit details
    Browse the repository at this point in the history
  3. Add extra clarifying comment.

    Janwillem Swalens committed May 28, 2015
    Configuration menu
    Copy the full SHA
    814948b View commit details
    Browse the repository at this point in the history
  4. Avoid unnecessary links in Vals.

    Aims to speed up Vals.get(). Seems to be really worth it.
    Janwillem Swalens committed May 28, 2015
    Configuration menu
    Copy the full SHA
    32e86b0 View commit details
    Browse the repository at this point in the history
Loading