diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-20 13:41:58 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-20 13:44:43 -0400 |
commit | 2d41f3acc359643a88bd39ef8c8d7bac106765fa (patch) | |
tree | 45940e40e336b26dc650e39bb7c81fc84c2daf23 /sc/inc/compare.hxx | |
parent | 426708e70807e052aca2ec16314c103b1d2a0439 (diff) |
Reduce branching on empty matrix elements as well.
This makes a big difference in performance.
Change-Id: I88b48d10ff575d80c1c139278dc207d921f15848
Diffstat (limited to 'sc/inc/compare.hxx')
-rw-r--r-- | sc/inc/compare.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/compare.hxx b/sc/inc/compare.hxx index 5f9e1585ca28..485f882878b5 100644 --- a/sc/inc/compare.hxx +++ b/sc/inc/compare.hxx @@ -70,6 +70,11 @@ double CompareFunc( double fCell1, const Compare::Cell& rCell2, CompareOptions* double CompareFunc( const Compare::Cell& rCell1, double fCell2, CompareOptions* pOptions = NULL ); double CompareFunc( double fCell1, double fCell2 ); +/** + * Left cell is empty while the right cell is numeric. + */ +double CompareEmptyToNumericFunc( double fCell2 ); + } #endif |