We need a new procedure sorted array::find half key value that searches a sorted key-value array for a…
We need a new procedure sorted array::find half key value that searches a sorted key-value array for a…: a task in LegoFlow-SWE (Harbor dataset). Background : Named storage slots use a memory layout where each key is a quadruple 0, slot type, name id suffix, name id prefix . When looking up a…
The task
**Background**: Named storage slots use a memory layout where each key is a quadruple `[0, slot_type, name_id_suffix, name_id_prefix]`. When looking up a named slot, we only care about matching `name_id_prefix` and `name_id_suffix` — the “half-key” — and should ignore the first two elements.
Part of Lego-X/LegoFlow-SWE.