Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/modules/ROOT/pages/shared_libraries.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,12 @@ 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

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"]
|===
Expand Down
Loading