diff options
author | Eike Rathke <erack@redhat.com> | 2018-08-27 10:09:32 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-08-27 14:49:14 +0200 |
commit | e8cb36fd6234270c8c31147db35cccab9c234529 (patch) | |
tree | 19fbae0465dcf131b3049f213dcb5fa8e5ff5772 /vcl/win | |
parent | c5bef7505a6b761cf586abb4316776069ce0e887 (diff) |
Increase arbitrary sort elements limit from 100000 to two full columns
The value 100000 already was in the year 2000 initial commit,
probably some memory and performance constraints back then. At
least one full column should be sortable, make it two so we don't
bail out that early for functions like MODE() that can take
multiple ranges. In fact maybe ScMatrix::IsSizeAllocatable()
should be taken into account, which is much larger though and
QuickSort() might not play well with it.
Change-Id: I061abfd0f061c8df62c31468df744eb5dc7152be
Reviewed-on: https://gerrit.libreoffice.org/59637
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'vcl/win')
0 files changed, 0 insertions, 0 deletions