diff options
author | Simon Rettberg | 2019-07-29 15:01:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-07-29 15:01:39 +0200 |
commit | cddd600996de531861f38bd8859c932e48514dd5 (patch) | |
tree | 904dff463b0f5116db032ced807196eca3b5dca8 /modules-available/locations/lang/en | |
parent | [roomplanner] Fix check for successful DB write (diff) | |
download | slx-admin-cddd600996de531861f38bd8859c932e48514dd5.tar.gz slx-admin-cddd600996de531861f38bd8859c932e48514dd5.tar.xz slx-admin-cddd600996de531861f38bd8859c932e48514dd5.zip |
[locations] Optimize some functions in Location class
* Casts are faster than settype.
* Check if assoc location cache is already populated.
* getLocationRootChain can use the parents array from
that location instead of building the array from scratch.
Diffstat (limited to 'modules-available/locations/lang/en')
0 files changed, 0 insertions, 0 deletions