Skip to content

Commit

Permalink
Describe lazy-loading content alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed Jan 3, 2016
1 parent 430626f commit 5816096
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion active/0000-lazy-load-items.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ Do not load all items into memory, but compile them one-by-one.

== Alternatives

(wip)
* Rather than lazy-loading items, load all items into memory but lazy-load their content and attributes instead. This likely will not give much of a performance gain (if any at all), since the content and attributes for each item needs to be loaded at some point anyway, in order for the checksum to be calculated.
+
To get around this problem, at the end of compilation, the previous checksum of an item could be reused if neither their content nor attributes were loaded.

== Unresolved questions

Expand Down

0 comments on commit 5816096

Please sign in to comment.