Printable idea sheet
inbound_inlay_index_performance
reqlan rq/extension/language/syntax/features-syntax-highlighting.rq:520
Katz 0.122
Computing inbound reference inlay hints for a document with many ideas must look up a
pre-pushed SQLite inbound snapshot ( unify_inbound_indexes )
in near-constant time per declaration.
Show the hints when that snapshot arrives
( lazy_features_after_outbound ).
Until the first ready snapshot arrives, hints stay empty.
Later index sync must not clear last-good with an empty mid-sync push
( inbound_snapshot_events ).
Must not call Langium `findAllReferences` / equivalent full-index scans once per idea
( that is O ( ideas × workspace refs ) and freezes the editor on dense graphs ).
Implemented by reqlan-inbound-reference-inlay-label.ts
and reqlan-inlay-hint-provider.ts.
view_references_as_inlay_hints
inbound_inlay_hints_whole_graph
- status
- done
- tests
- inbound-referencer-index-perf.test.ts:inlay referencers come from the pushed snapshot, not findAllReferences, inbound-snapshot-push.test.ts, inbound-snapshot-store.test.ts
Interactive page: inbound_inlay_index_performance