SERVER-138670ClosedFixed

Add a dead slot elimination rule for SBE blueprint projects

Add a blueprint rewrite rule that removes project entries whose slots nothing reads, and replaces a project left empty by its child. Some JOO queries spend about 10% of their time computing such slots. * Give rewrite rules a shared slot summary ({{SbBlueprintSlotUsage}}) and a way to queue a node to be rewritten again * Entries are removed even if evaluating them could raise an error * Other node types are left for later

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.