chiark / gitweb /
cmd updates: In UpdateHandlerBulk, use a HashMap not a SlotMap
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Mar 2021 17:21:49 +0000 (18:21 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 1 Apr 2021 10:37:38 +0000 (11:37 +0100)
commit9505d26132f822a834a4ce57b6ae995898be3479
tree91e98256117d31b6c4d1518b112f914c30787607
parent9f7423e4251b6bd22cad953e36337b73d4f148bd
cmd updates: In UpdateHandlerBulk, use a HashMap not a SlotMap

Otherwise if a slot gets reused, this can go wrong.

It is easier to do this than think about whether the separation of
inserts from deletes would be sufficient.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
daemon/cmdlistener.rs