]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code/isa: eliminate redundant map lookups 67202/head
authorKefu Chai <k.chai@proxmox.com>
Wed, 4 Feb 2026 07:08:14 +0000 (15:08 +0800)
committerKefu Chai <k.chai@proxmox.com>
Mon, 9 Feb 2026 02:34:42 +0000 (10:34 +0800)
commite0218826a30ace47db88b3602bea5c1d0c6884d5
treed3a27a3021fe1c2fdba62bfdaa44125051d76d28
parent2b914688fe0451a27dfe6bab55804a8bc026318e
erasure-code/isa: eliminate redundant map lookups

Use find() instead of count() + operator[] to avoid multiple lookups
and reduce nesting.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/erasure-code/isa/ErasureCodeIsaTableCache.cc