[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: implementing a DAG using lua tables
- From: Dimitris Papavasileiou <jimmyp@...>
- Date: Fri, 7 Nov 2003 02:36:09 +0200
I need to implement a DAG structure(or rather a tree where each node can
have an arbitrary number of children) using lua tables. The table will be
traversed from C during every frame so it should be as fast as possible to
do so. It should also be relatively fast and easy to add and remove nodes
from the DAG. I have thought of a couple of ways to do that but some people
here have much more experience with LUA so they might know of a better/more
efficient way to implement a DAG.
Dimitris