Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Replace ares.cpp serialization logic with a custom graph traversal pass

Abierto
#25 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@HaroldCindy ya está trabajando en esto.

Desde el 19/11/2025.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

enhancement

At a high level, Ares is relatively simple. It has logic to walk the graph of references from the starting object, depth-first. It keeps track of nodes as it goes, filling in a reference to a previous object if it ever sees it referenced from another node.

Pretty typical graph traversal stuff, but the graph traversal logic is all mushed in with the object (de)serialization logic because Eris (and therefore Ares) manages traversal state using Lua APIs. That results in a lot of garbage related to traversal state being handed off to the GC, which I expect could result in extreme GC pressure on startup when lots of scripts are spinning back up.

I think the format itself makes sense, but the graph traversal logic should just be in C++ so we don't create tons of Lua objects that we won't need after Ares has run. Not to mention that stack imbalances with the traversal logic are verify difficult to debug currently.

Lenguaje dominante
C++
Estrellas
20
Forks
10
Merge medio
4 d 8 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de secondlife/slua

Todos los issues de secondlife/slua

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.