Skip to content

Comments

map: do not allocate on lookup when key doesn't exist#1519

Merged
lmb merged 1 commit intocilium:mainfrom
brycekahle:bryce.kahle/zero-alloc-lookup-enoent
Jul 23, 2024
Merged

map: do not allocate on lookup when key doesn't exist#1519
lmb merged 1 commit intocilium:mainfrom
brycekahle:bryce.kahle/zero-alloc-lookup-enoent

Conversation

@brycekahle
Copy link
Contributor

Fixes #1516

@brycekahle brycekahle requested a review from a team as a code owner July 18, 2024 22:48
@brycekahle brycekahle force-pushed the bryce.kahle/zero-alloc-lookup-enoent branch from 0213343 to 22b068f Compare July 22, 2024 20:56
@lmb lmb changed the title remove allocs for map lookup ENOENT error map: do not allocate when key doesn't exist Jul 23, 2024
@lmb lmb changed the title map: do not allocate when key doesn't exist map: do not allocate on lookup when key doesn't exist Jul 23, 2024
@lmb lmb merged commit 63c6cf8 into cilium:main Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

map Lookup allocates when key does not exist

3 participants