in reply to Re^4: Mojo Template, passing dynamic index to array.
in thread Mojo Template, passing dynamic index to array.

> I often see people pass large data structures to templates, only to never reference most of it.

Is there really a memory impact? The "template" logic is not in a different process, right ?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^5: Mojo Template, passing dynamic index to array.

Replies are listed 'Best First'.
Re^6: Mojo Template, passing dynamic index to array.
by Anonymous Monk on Jul 16, 2021 at 20:58 UTC

    Exactly. The only thing you're passing is a reference.