GraphiteEditor / GraphiteEditor/Graphite

Lazily evaluate list items by treating lists as iterators

Abierto
#2,988 0 comentarios 0 reacciones 1 asignado Reclamado por @TrueDoctor Ver en GitHub
Architecture Graphene
Lenguaje dominante
Rust
Estrellas
27.2k
Forks
1.3k
Merge medio
20 h 5 min
PR fusionados (30 d)
57

Descripción

Lists are data types that exist at-rest and in-memory during points of execution in the graph. They are analogous to a `Vec` is Rust.

The idea here suggested by @TrueDoctor, if it turns out to be feasible, is that we can possibly use fields (lambdas, executing upstream nodes multiple times with different context data). This approach would be analogous to an iterator in Rust.

So in our analogy, instead of `.collect()`ing into a `Vec`, we could use the iterator directly. From a UI perspective, we can still collect into a list to display in the spreadsheet view based on where the user clicks a thumbnail to view the data at that point. But during regular rendering, collects don't usually occur and we therefore work not with lists but repeated field (lambda node) calls.

This concept requires further exploration by @TrueDoctor before it may or may not become a plan to be implemented.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.