Permalink
Switch branches/tags
Nothing to show
Commits on Feb 10, 2012
  1. modifed UNIVERSAL::can to be ->can to solve #8, we should now be able…

    … to work well with classes that make use of AUTOLOAD
    committed Feb 10, 2012
Commits on Feb 9, 2012
Commits on Feb 14, 2011
Commits on Feb 2, 2011
  1. Adding an (optional) render argument to lambdas.

    This change also uncovered (and fixed) a bug
    wherein references in the Template Cache were
    being destroyed through inattention.
    pvande committed Feb 2, 2011
Commits on Jan 28, 2011
Commits on Jan 11, 2011
  1. Adding a basic ShipIt file.

    pvande committed Jan 11, 2011
  2. Cleanup the output POD a bit.

    pvande committed Jan 11, 2011
Commits on Jan 9, 2011
  1. Many documentation changes.

    pvande committed Jan 9, 2011
Commits on Jan 8, 2011
  1. Adding basic .yardopts file.

    pvande committed Jan 8, 2011
Commits on Jan 7, 2011
  1. Cleaned up the spec tests a little more.

    Now running the tests without the spec submodule will not
    yield an error.
    pvande committed Jan 7, 2011
  2. Adding code to cache parse trees.

    Current status: better
    $ perl -Ilib benchmark.pl
    Benchmark: timing 1000000 iterations of Complex Templates, Plain String (No Interpolation), Recursive Templates, Self-Parsing, Simple Interpolation...
    Complex Templates: 292 wallclock secs (286.64 usr +  0.30 sys = 286.94 CPU) @ 3485.05/s (n=1000000)
    Plain String (No Interpolation): 21 wallclock secs (20.05 usr +  0.02 sys = 20.07 CPU) @ 49825.61/s (n=1000000)
    Recursive Templates: 181 wallclock secs (179.14 usr +  0.15 sys = 179.29 CPU) @ 5577.56/s (n=1000000)
    Self-Parsing: 741 wallclock secs (696.22 usr + 26.73 sys = 722.95 CPU) @ 1383.22/s (n=1000000)
    Simple Interpolation: 353 wallclock secs (344.72 usr +  0.54 sys = 345.26 CPU) @ 2896.37/s (n=1000000)
    pvande committed Jan 7, 2011
  3. Adding benchmarking code.

    Current status: very slow
    $ perl -Ilib benchmark.pl
    Benchmark: timing 1000000 iterations of Complex Templates, Plain String (No Interpolation), Recursive Templates, Self-Parsing, Simple Interpolation...
    Complex Templates: 757 wallclock secs (725.60 usr +  1.54 sys = 727.14 CPU) @ 1375.25/s (n=1000000)
    Plain String (No Interpolation): 88 wallclock secs (84.43 usr +  0.16 sys = 84.59 CPU) @ 11821.73/s (n=1000000)
    Recursive Templates: 345 wallclock secs (331.01 usr +  0.63 sys = 331.64 CPU) @ 3015.32/s (n=1000000)
    Self-Parsing: 1834 wallclock secs (1751.65 usr + 32.21 sys = 1783.86 CPU) @ 560.58/s (n=1000000)
    Simple Interpolation: 743 wallclock secs (729.42 usr +  1.02 sys = 730.44 CPU) @ 1369.04/s (n=1000000)
    pvande committed Jan 7, 2011
Commits on Jan 6, 2011
  1. Rearranging template_file code.

    pvande committed Jan 6, 2011
  2. Allowing transposition of data and template.

    For the most common cases, this allows the template and
    data values to be interchangeably.
    pvande committed Jan 6, 2011
  3. Templates are now read from the filesystem.

    The expected template file follows the same pattern as the expected module file name.
    pvande committed Jan 6, 2011
Commits on Jan 5, 2011
  1. Partials can now be looked up by #partial.

    This will allow subclasses to perform their own partial
    resolution in an inbuilt way.
    pvande committed Jan 5, 2011
Commits on Jan 4, 2011
  1. Adding support for Partial tags.

    At this point, Template::Mustache complies with the second
    release candidate of the Mustache specification.
    pvande committed Jan 4, 2011