Skip to content

Base, DB IDO: Optimize object retrieval by caching types - #10973

Open
Akulbanxal wants to merge 1 commit into
Icinga:masterfrom
Akulbanxal:fix/avoid-two-arg-getobject-10274
Open

Base, DB IDO: Optimize object retrieval by caching types#10973
Akulbanxal wants to merge 1 commit into
Icinga:masterfrom
Akulbanxal:fix/avoid-two-arg-getobject-10274

Conversation

@Akulbanxal

@Akulbanxal Akulbanxal commented Aug 4, 2026

Copy link
Copy Markdown

Avoid string-based lookups in ConfigObject::GetObject(type, name) by introducing a cached ConfigObject::GetZone(name) helper for the base library, and caching ConfigType pointers in DbType for the IDO database library.

fixes #10274

Avoid string-based lookups in ConfigObject::GetObject(type, name) by introducing a cached ConfigObject::GetZone(name) helper for the base library, and caching ConfigType pointers in DbType for the IDO database library.

refs Icinga#10274
@cla-bot cla-bot Bot added the cla/signed label Aug 4, 2026
@Al2Klimov

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Try to avoid ConfigObject::GetObject(const String&typeName,const String&objName)

2 participants