Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
craigharley
· 7y ago · 0 comments
I made a super simple graph in typescript using an adjacency matrix because all the ones I could find were really bloated, or used far too much memory since I have have a very dense graph.
Comments
[–]
random4215
7y ago
Matrices are a big memory cost. I would suggest to use Maps instead to maintain constant time operations.
[–]
craigharley
OP
7y ago
How would you recommend going about doing this?