Logo
Explore Help
Register Sign In
Miko/LSL-PyOptimizer
1
0
Fork 0
You've already forked LSL-PyOptimizer
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
master
LSL-PyOptimizer/unit_tests/expr.suite/list-funcs-7.out

65 lines
349 B
Plaintext
Raw Permalink Normal View History

Implement llListSortStrided The only difference between this function and llListSort is the index, so llListSort is adapted to accept it.
2024-04-19 15:22:35 +02:00
[ "T1"
, "B"
, "C"
, "a"
, "d"
, "e"
, "á"
, "T2"
, 1
, "A"
, 2
, "B"
, 3
, "C"
, "T3"
, 1
, 2
, 3
, "A"
, "B"
, "C"
, "T4"
, 1
, "C"
, 2
, "B"
, 3
, "A"
, "T5"
, 3
, "A"
, 2
, "B"
, 1
, "C"
, "T6"
, "T7"
, "T8"
, 1
, "C"
, 2
, "B"
, 3
, "A"
, "T9"
, 3
, "A"
, 2
, "B"
, 1
, "C"
Fix bug in llListSortStrided producing incorrect results sometimes It used `a = lst[i]` instead of taking the stride index into account (that is, it should have been `a = lst[i+idx]`). Anyway, the exact same value is in b, so use that instead. Test case by Tapple Gao.
2024-10-09 01:37:34 +02:00
, "T10"
, 1
, "a"
, 0
, "a"
, 0
, "b"
, 1
, "b"
, 1
, "c"
, 0
, "c"
Implement llListSortStrided The only difference between this function and llListSort is the index, so llListSort is adapted to accept it.
2024-04-19 15:22:35 +02:00
]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 327ms Template: 40ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API