OsListSortInPlace

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
|description=Identical to llListSort but does the sort on the original list, not creating a new one and so using less memory.<br>
 
|description=Identical to llListSort but does the sort on the original list, not creating a new one and so using less memory.<br>
 
* src: the list to sort
 
* src: the list to sort
 +
* stride the list stride.
 +
* ascending: is 1 sort in ascending order, else, if any other value, sort in descendent order.
 
|additional_info=This function was added in 0.9.2
 
|additional_info=This function was added in 0.9.2
 
}}
 
}}

Revision as of 17:28, 1 June 2021

osListSortInPlace(list src, integer stride, integer ascending)
Identical to llListSort but does the sort on the original list, not creating a new one and so using less memory.
  • src: the list to sort
  • stride the list stride.
  • ascending: is 1 sort in ascending order, else, if any other value, sort in descendent order.
Threat Level This function does not do a threat level check
Permissions Use of this function is always allowed by default
Extra Delay 0 seconds
Notes
This function was added in 0.9.2


Personal tools
General
About This Wiki