The properties of Liquid::Drops are only evaluated when they're asked for and therefore save computation time. This prevents a lot of GC time cleaning up objects that are not needed, because they're not created unless requested. Additionally, this saves time for actual computation of those values because they can be computed only if needed. It's funny how much it helps when you only do what is needed. Far less overhead. |
||
---|---|---|
.. | ||
collection_drop.rb | ||
document_drop.rb | ||
immutable_drop.rb | ||
jekyll_drop.rb | ||
mutable_drop.rb | ||
site_drop.rb | ||
unified_payload_drop.rb | ||
url_drop.rb |