Categories: None [Edit]

index_tree

https://rubygems.org/gems/index_tree
https://github.com/Natural-Intelligence/index_tree
This Gem eagerly loads trees by indexing the nodes of the tree. The number of queries needed for loading a tree is N, Where N is the number of different models(ActiveRecords) in the tree. Each inner object in the tree have an index node instance that is connecting it to the root. When the root of the tree is loaded, only the objects that are in the tree are fetched(Pruning). The index nodes are created when the root element is saved and stored in the IndexNode model.

Total

Ranking: 83,833 of 195,871
Downloads: 11,454

Daily

Ranking: 144,404 of 195,832
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
141,275,096,408minitest
36823,398,171activerecord
155333,234,751rdoc
282191,538,464sqlite3

Owners

#GravatarHandle
1iconAlexStanovsky