Repair a verified behavior in sysprog21/rv32emu.
Repair a verified behavior in sysprog21/rv32emu.: a task in OriGent-SFT-Data (Harbor dataset). The generic red-black tree map in rv32emu is wasteful when a new unique key is inserted: it allocates the node, key, and value separately, producing three allocator calls and three separate allocations…
The task
The generic red-black tree map in rv32emu is wasteful when a new unique key is inserted: it allocates the node, key, and value separately, producing three allocator calls and three separate allocations per element. This increases memory overhead and hurts locality for a data structure used by ordinary map operations.
Part of henryen/OriGent-SFT-Data.