Move attributes, empty macro expansions, and macros expanding to attributes into floating fragments

Aperta
#558 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
30/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Start by locating multiplier's AST/code-based deduplication logic and how it handles V8_EXPORT expansions across translation units. The work is done when attributes, empty macro expansions, and macros expanding to attributes are represented as floating fragments, avoiding duplicate classes and related method templates in V8 indexes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement indexer priority-high

This is a big issue, with the purpose of addressing database bloat in V8 indexes due to the V8_EXPORT macro. In different translation units, this macro expands differently, resulting in the same classes, or class templates, "looking" different to multiplier's AST/code-based deduplication logic. As a result, there can be two or more copies of many classes stored in the database. This has knock-on effects for the methods, especially method templates.

Lingua principale
C++
Stelle
483
Fork
38
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di trailofbits/multiplier

Tutte le issue di trailofbits/multiplier

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.