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: 82,468 of 192,483
Downloads: 11,376

Daily

Ranking: 78,082 of 192,454
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
141,202,822,716minitest
36783,862,747activerecord
166298,626,539rdoc
278181,261,037sqlite3

Owners

#GravatarHandle
1iconAlexStanovsky