Instead of calculating the previous/next node on the fly this data is now set automatically whenever a node is stored in a NodeSet with an owner. While this introduces some overhead and complexity when adding or removing nodes from a NodeSet, it greatly reduces the runtime overhead of calling Node#previous or Node#next. |
||
|---|---|---|
| .. | ||
| oga | ||
| support | ||
| spec_helper.rb | ||