[Ohrrpgce] SVN: teeemcee/12905 Add "get extra", "set extra", and replace "append/resize slice extra", "

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sun Apr 17 21:22:44 PDT 2022


teeemcee
2022-04-17 21:22:41 -0700 (Sun, 17 Apr 2022)
544
Add "get extra", "set extra", and replace "append/resize slice extra", "slice extra length" with "append/resize extra", "extra length"

These commands are generic rather than limited to slices, although currently
only slices have resizable extra data arrays, hence the dictionary still refers
to slice handles.

Added decode_handle and get_handle_extravec for handling generic script handles.

Also some additional benchmarks.
"get extra", "set extra" are around 10% slower than "get/set slice extra", which
translates to 5% slower bubble sort.
---
U   wip/IMPORTANT-nightly.txt
U   wip/const.bi
U   wip/docs/plotdict.xml
U   wip/docs/plotdictionary.html
U   wip/plotscr.hsd
U   wip/scriptcommands.bas
U   wip/scriptcommands.bi
U   wip/testgame/benchmark.hss
U   wip/testgame/benchmark.nut
U   wip/testgame/benchmark.py
U   wip/testgame/benchmark.rpg
U   wip/whatsnew.txt



More information about the Ohrrpgce mailing list