summaryrefslogtreecommitdiff
path: root/indra/llimage/llimageworker.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-09-02 16:41:09 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-09-02 16:41:09 -0400
commit1101ed699a0c3c23c0bb11267d390febfdc02409 (patch)
tree52b369b2f8a14413ca69eea04768cbbf7aa79da8 /indra/llimage/llimageworker.h
parent8c18cfd22583e981f93734ec0aa6ee0ead3f26c5 (diff)
Introduce result_view.lua, and use it in LLInventory.lua.
result_view(key_length, fetch) returns a virtual view of a potentially-large C++ result set. Given the result-set key, its total length and a function fetch(key, start) => (slice, adjusted start), the read-only table returned by result_view() manages indexed access and table iteration over the entire result set, fetching a slice at a time as required. Change LLInventory to use result_view() instead of only ever fetching the first slice of a result set. TODO: This depends on the viewer's "LLInventory" listener returning the total result set length as well as the result set key. It does not yet return the length.
Diffstat (limited to 'indra/llimage/llimageworker.h')
0 files changed, 0 insertions, 0 deletions