Closed flippmoke closed 6 years ago
Note: This produces slightly different test results in node_mapnik. It is interesting because this is due to a slight change in the processing order of our code. A set of floating point double math was changed from:
A - (C + B)
to (A - C) - B
It should be noted that this was using a non-sse code path and compiling with out the SSE_MATH
configuration option.
Above is the difference this actually produced in the results of simplification.
This is similar to #209 but cleaned up. It now wraps the SSE code in a define and fixes some bugs associated with the previous implementation. It has both SSE code for doubles and for floats, based on the size of the container being used.
The previous bugs in #209 were causing slightly different test results, but the test results are the same with this implementation.
This code only changes the performance of the simplification code currently.
Performance Difference:
v3.0.x previous:
sse_revised branch: