DEV Community

loading...

Discussion on: Thinking Granular: How is SolidJS so Performant?

Collapse
chronograph profile image
Nickolay Platonov

The solution interestingly enough was to use 2 arrays on each side, one to hold the item, and one to hold the reverse index on its counterpart

Absolutely brilliant. I was thinking about something similar but I was missing the array on the counterpart. Thanks for the idea!