From bbf48e723a6d221eb9f4f92f4ac9ce8c0dd5e5f4 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Sun, 15 Nov 2026 09:18:31 -0500 Subject: [PATCH 1/2] doc: shared_libraries: say which problems a plugin without classes avoids Co-Authored-By: Claude Sonnet 5.5 --- doc/modules/ROOT/pages/shared_libraries.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/modules/ROOT/pages/shared_libraries.adoc b/doc/modules/ROOT/pages/shared_libraries.adoc index b175bf77..d127ef48 100644 --- a/doc/modules/ROOT/pages/shared_libraries.adoc +++ b/doc/modules/ROOT/pages/shared_libraries.adoc @@ -235,7 +235,7 @@ hash costs memory as well as time. A plugin host that registers more than a few hundred classes is the program most likely to meet both problems. A plugin that registers no classes of its own, and only adds overriders for the program's, contributes no type ids, and -does not cause them. +does not cause either problem. ### The alternatives From 9af61041e7452d6d52a0c95dd321ed94b7236a1c Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Sun, 15 Nov 2026 09:20:11 -0500 Subject: [PATCH 2/2] doc: shared_libraries: vptr_map removes the need for a hash Co-Authored-By: Claude Sonnet 5.5 --- doc/modules/ROOT/pages/shared_libraries.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/modules/ROOT/pages/shared_libraries.adoc b/doc/modules/ROOT/pages/shared_libraries.adoc index d127ef48..cdbc77cb 100644 --- a/doc/modules/ROOT/pages/shared_libraries.adoc +++ b/doc/modules/ROOT/pages/shared_libraries.adoc @@ -240,7 +240,7 @@ does not cause either problem. ### The alternatives Three other cpp:type_hash[] policies avoid the problem, and cpp:vptr_map[] -removes the hash altogether: +removes the need for a hash altogether: [cols="1,3"] |===