mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Replace inline helper calls with LR runtime methods: - __to_s__() -> LR.to_s() - __to_number__() -> LR.to_number() - __to_integer__() -> LR.to_integer() - __truthy__() -> LR.truthy?() - __output_value__() -> LR.output() - __lookup__() -> LR.lookup() Filter compiler now generates calls like: - LR.escape_html(), LR.url_encode(), LR.base64_encode() - LR.truncate(), LR.truncatewords(), LR.slice() - LR.default(), LR.date() This reduces generated code size significantly since helpers are defined once in the pre-loaded runtime.