Associated numbers fast math routines
|
|
Resolved
New convenience procs have been added for doing fast operations on associative lists that hold numbers as their associated values, such as list("apple"=3, "orange"=10). This is mainly to drive performance in certain games.
The new procs are:
- values_sum: Returns a total of all associated numbers in the list
- values_product: Returns a product of all associated numbers in the list (1 if no numbers)
- values_dot: Returns a dot product of the numbers in two associative lists, by multiplying the numbers associated with matching values
- values_cut_under: Cuts all values from a list whose associated numbers are below a certain threshold
- values_cut_over: Cuts all values from a list whose associated numbers are above a certain threshold
|
|
Status: |
Resolved (516.1648)
This issue has been resolved.
|
|
|
SS13 needs some fast routines for doing math on associated lists with numbers as the associated values.
|