summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compare.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-05-11fix-includes.pl: scThomas Arnhold1-1/+1
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
2014-03-03remove unused code in sc::CompareFuncNoel Grandin1-65/+0
sc::CompareFunc(double, sc::Compare::Cell const&, sc::CompareOptions*) Change-Id: I0fc3a1a038bb051672dcb180380e25258ac7552f
2014-01-14Be explicit when using bool as integral valueStephan Bergmann1-3/+3
Change-Id: I04073e87e13984570373d1cf6740aeb082516cc0
2013-10-20Reduce branching on empty matrix elements as well.Kohei Yoshida1-0/+20
This makes a big difference in performance. Change-Id: I88b48d10ff575d80c1c139278dc207d921f15848
2013-10-20Reduce branching in CompareMatrix(). This makes a big difference.Kohei Yoshida1-0/+149
Change-Id: I391e889a50864ae002e85d636b767d7c6f187a23
2013-10-20Pass cells to CompareFunc, rather than the whole Compare struct.Kohei Yoshida1-11/+7
Change-Id: I4d5554fc5783b123aa0f90b7c078e1fc0f0cd866
2013-10-20Try not to use array index access here...Kohei Yoshida1-1/+6
Change-Id: I48967956c63ba72b62604bcabe7166fc58061d13
2013-10-20Store SharedString in Compare::Cell.Kohei Yoshida1-27/+25
This has a slight overhead for purely numeric comparisons. Change-Id: I243d5c81499177b3ae93b39a1af7c2f3b954bd39
2013-10-20Better way to organize 2 compared cell values.Kohei Yoshida1-35/+51
Turns out this is slightly faster too. Change-Id: I5a8c3474ab2a342200a5cfa9a93e6d89433595c4
2013-10-19approxEqual with 0.0 always is false. Do a normal non-equality check.Kohei Yoshida1-2/+2
Plus approxEqual is slightly slower. Change-Id: I16e7db6b06b3c0eceb8b8a1b7afd29660ff1da6a
2013-10-18Reduce the number of arguments. The first argument can go now.Kohei Yoshida1-5/+2
Change-Id: Id2b9ca7b6e24edc0da4735c01798ab580fba910d
2013-10-18Initial attempt to speed up matrix comparison.Kohei Yoshida1-0/+201
And move the value compare code to somewhere public. I'll be using it from the ScMatrix internal. This change requires mdds 0.9.1 which is yet to be released. Change-Id: I942133c85b614b3404006fa38af111ace9361fd4