Skip to content

Release v1.1 - #12

Merged
elwinwu merged 104 commits into
masterfrom
release-v1.1
Jun 13, 2016
Merged

Release v1.1#12
elwinwu merged 104 commits into
masterfrom
release-v1.1

Conversation

@chieltbest

Copy link
Copy Markdown
Contributor

No description provided.

Sandarr95 and others added 30 commits March 31, 2016 13:38
MaikelB and others added 28 commits April 25, 2016 15:44
This fix takes the time complexity of the
 algorithm down to O(n^2) from an estimated O(2^n).
Also did a lot op optimisations to the code,
 increasing performance by a large margin.
Some benchmarks follow:
- In both the optimised and unoptimised versions
 of the code the fix has been applied.
- All test were done on an AMD FX-6350 @ 4.5Ghz,
 with the same test case for both versions.
- The code was built using the supplied cmake build,
 using the release build configuration.

Test size | total insertions | unoptimised | optimised
50        | 10000            | 1610+-100ms | 195+-10ms
100       | 40000            | 33.2+-.1s   | 3.21+-.5s
150       | 90000            | 199+-3s     | 19.3+-.1s

From these tests it can be concluded that
 there is an average speedup of around 860%.
It can also be observed that the algorithm conforms
 reasonably well to the calculated O(n^2) complexity.
fix a critical bug in the set_box_info method of BoxMap
- Created a new interface for use with the map editor.
- did some other various fixes to the implementation.
fixed the code in accordance with the reviews done by Scott Mackay
test cases will currently fail because of another open issue in adt
test cases now all confirmed working, and new test case added to test getting a zero size box
…eflect it

test cases now all confirmed working, and the test case for the zero size box was updated
also did the thing where the get_box_info() function moves to the other class thing
…or loading the map

load now no longer naively calls set_box_info() on every box loaded
@elwinwu
elwinwu merged commit 2929d0f into master Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants