summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-08-04 21:01:21 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-09 19:19:04 +0100
commit52d8d89f73542eb8ab3577bc55b466e7ca73bfc7 (patch)
tree9714b5af84a2a6e72f6539c381bc0c54278ad9f7 /desktop-widgets
parenteaf8a59edfb2aa7ec99b60de0d3c86902a73de5a (diff)
downloadsubsurface-52d8d89f73542eb8ab3577bc55b466e7ca73bfc7.tar.gz
Mobile: optimize cylinderList() function
The cylinderList() function collects all cylinder descriptions. Instead of adding all cylinders, then sort, then removed duplicates, keep a sorted list and only add non-existing elements. Find existing elements by a binary search. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
0 files changed, 0 insertions, 0 deletions