proxmox/proxmox-api-macro
Dominik Csapak 29763449f0 api-macro: fix broken binary ident search
the 'properties_' list is sorted by the the literal string of a
fieldname, but we binary-search for the 'ident_str' (which may be
different, since we map '-' to '_' for example)

by creating a hashmap to map from ident to index, we can do a simple
lookup in that case that will work

benchmarks showed no measurable performance difference

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-09-17 08:20:44 +02:00
..
debian bump api macro to 0.2.0-1 2020-07-10 11:04:20 +02:00
src api-macro: fix broken binary ident search 2020-09-17 08:20:44 +02:00
tests api-macro: formatting fixups 2020-07-16 14:13:14 +02:00
Cargo.toml bump api macro to 0.2.0-1 2020-07-10 11:04:20 +02:00