Skip to content

Commit

Permalink
Fix caching in chains.
Browse files Browse the repository at this point in the history
  • Loading branch information
orenbenkiki committed Apr 15, 2024
1 parent eadb6d1 commit b438831
Show file tree
Hide file tree
Showing 16 changed files with 408 additions and 213 deletions.
2 changes: 1 addition & 1 deletion docs/v0.1.0/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.0","generation_timestamp":"2024-04-14T13:08:10","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.0","generation_timestamp":"2024-04-15T15:52:15","documenter_version":"1.3.0"}}
147 changes: 111 additions & 36 deletions docs/v0.1.0/formats.html
Original file line number Diff line number Diff line change
Expand Up @@ -1605,8 +1605,8 @@ <h3 id="Creating-properties">
<header>
<a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring">
</a>
<a class="docstring-binding" id="Daf.Formats.format_empty_dense_vector!" href="#Daf.Formats.format_empty_dense_vector!">
<code>Daf.Formats.format_empty_dense_vector!
<a class="docstring-binding" id="Daf.Formats.format_get_empty_dense_vector!" href="#Daf.Formats.format_get_empty_dense_vector!">
<code>Daf.Formats.format_get_empty_dense_vector!
</code>
</a>
<span class="docstring-category">Function
Expand All @@ -1615,7 +1615,7 @@ <h3 id="Creating-properties">
<section>
<div>
<pre>
<code class="language-julia hljs">format_empty_dense_vector!(
<code class="language-julia hljs">format_get_empty_dense_vector!(
format::FormatWriter,
axis::AbstractString,
name::AbstractString,
Expand Down Expand Up @@ -1678,8 +1678,8 @@ <h3 id="Creating-properties">
<header>
<a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring">
</a>
<a class="docstring-binding" id="Daf.Formats.format_empty_sparse_vector!" href="#Daf.Formats.format_empty_sparse_vector!">
<code>Daf.Formats.format_empty_sparse_vector!
<a class="docstring-binding" id="Daf.Formats.format_filled_empty_dense_vector!" href="#Daf.Formats.format_filled_empty_dense_vector!">
<code>Daf.Formats.format_filled_empty_dense_vector!
</code>
</a>
<span class="docstring-category">Function
Expand All @@ -1688,7 +1688,38 @@ <h3 id="Creating-properties">
<section>
<div>
<pre>
<code class="language-julia hljs">format_empty_sparse_vector!(
<code class="language-julia hljs">format_filled_empty_dense_vector!(
daf::DafWriter,
axis::AbstractString,
name::AbstractString,
filled_vector::AbstractVector{T},
)::Nothing where {T &lt;: StorageNumber}
</code>
</pre>
<p>Allow the
<code>format
</code> to perform caching once the empty dense vector has been
<code>filled
</code>. By default this does nothing.
</p>
</div>
</section>
</article>
<article class="docstring">
<header>
<a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring">
</a>
<a class="docstring-binding" id="Daf.Formats.format_get_empty_sparse_vector!" href="#Daf.Formats.format_get_empty_sparse_vector!">
<code>Daf.Formats.format_get_empty_sparse_vector!
</code>
</a>
<span class="docstring-category">Function
</span>
</header>
<section>
<div>
<pre>
<code class="language-julia hljs">format_get_empty_sparse_vector!(
format::FormatWriter,
axis::AbstractString,
name::AbstractString,
Expand All @@ -1708,8 +1739,8 @@ <h3 id="Creating-properties">
</code> in
<code>format
</code>. The final tuple element is passed to
<a href="formats.html#Daf.Formats.format_filled_sparse_vector!">
<code>format_filled_sparse_vector!
<a href="formats.html#Daf.Formats.format_filled_empty_sparse_vector!">
<code>format_filled_empty_sparse_vector!
</code>
</a>.
</p>
Expand All @@ -1732,8 +1763,8 @@ <h3 id="Creating-properties">
<header>
<a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring">
</a>
<a class="docstring-binding" id="Daf.Formats.format_filled_sparse_vector!" href="#Daf.Formats.format_filled_sparse_vector!">
<code>Daf.Formats.format_filled_sparse_vector!
<a class="docstring-binding" id="Daf.Formats.format_filled_empty_sparse_vector!" href="#Daf.Formats.format_filled_empty_sparse_vector!">
<code>Daf.Formats.format_filled_empty_sparse_vector!
</code>
</a>
<span class="docstring-category">Function
Expand All @@ -1742,7 +1773,7 @@ <h3 id="Creating-properties">
<section>
<div>
<pre>
<code class="language-julia hljs">format_filled_sparse_vector!(
<code class="language-julia hljs">format_filled_empty_sparse_vector!(
format::FormatWriter,
axis::AbstractString,
name::AbstractString,
Expand All @@ -1764,8 +1795,8 @@ <h3 id="Creating-properties">
<header>
<a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring">
</a>
<a class="docstring-binding" id="Daf.Formats.format_empty_dense_matrix!" href="#Daf.Formats.format_empty_dense_matrix!">
<code>Daf.Formats.format_empty_dense_matrix!
<a class="docstring-binding" id="Daf.Formats.format_get_empty_dense_matrix!" href="#Daf.Formats.format_get_empty_dense_matrix!">
<code>Daf.Formats.format_get_empty_dense_matrix!
</code>
</a>
<span class="docstring-category">Function
Expand All @@ -1774,7 +1805,7 @@ <h3 id="Creating-properties">
<section>
<div>
<pre>
<code class="language-julia hljs">format_empty_dense_matrix!(
<code class="language-julia hljs">format_get_empty_dense_matrix!(
format::FormatWriter,
rows_axis::AbstractString,
columns_axis::AbstractString,
Expand Down Expand Up @@ -1826,8 +1857,8 @@ <h3 id="Creating-properties">
<header>
<a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring">
</a>
<a class="docstring-binding" id="Daf.Formats.format_empty_sparse_matrix!" href="#Daf.Formats.format_empty_sparse_matrix!">
<code>Daf.Formats.format_empty_sparse_matrix!
<a class="docstring-binding" id="Daf.Formats.format_filled_empty_dense_matrix!" href="#Daf.Formats.format_filled_empty_dense_matrix!">
<code>Daf.Formats.format_filled_empty_dense_matrix!
</code>
</a>
<span class="docstring-category">Function
Expand All @@ -1836,7 +1867,39 @@ <h3 id="Creating-properties">
<section>
<div>
<pre>
<code class="language-julia hljs">format_empty_sparse_matrix!(
<code class="language-julia hljs">format_filled_empty_dense_matrix!(
daf::DafWriter,
rows_axis::AbstractString,
columns_axis::AbstractString,
name::AbstractString,
filled_matrix::AbstractVector{T},
)::Nothing where {T &lt;: StorageNumber}
</code>
</pre>
<p>Allow the
<code>format
</code> to perform caching once the empty dense matrix has been
<code>filled
</code>. By default this does nothing.
</p>
</div>
</section>
</article>
<article class="docstring">
<header>
<a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring">
</a>
<a class="docstring-binding" id="Daf.Formats.format_get_empty_sparse_matrix!" href="#Daf.Formats.format_get_empty_sparse_matrix!">
<code>Daf.Formats.format_get_empty_sparse_matrix!
</code>
</a>
<span class="docstring-category">Function
</span>
</header>
<section>
<div>
<pre>
<code class="language-julia hljs">format_get_empty_sparse_matrix!(
format::FormatWriter,
rows_axis::AbstractString,
columns_axis::AbstractString,
Expand All @@ -1857,8 +1920,8 @@ <h3 id="Creating-properties">
</code> in
<code>format
</code>. The final tuple element is passed to
<a href="formats.html#Daf.Formats.format_filled_sparse_matrix!">
<code>format_filled_sparse_matrix!
<a href="formats.html#Daf.Formats.format_filled_empty_sparse_matrix!">
<code>format_filled_empty_sparse_matrix!
</code>
</a>.
</p>
Expand All @@ -1879,8 +1942,8 @@ <h3 id="Creating-properties">
<header>
<a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring">
</a>
<a class="docstring-binding" id="Daf.Formats.format_filled_sparse_matrix!" href="#Daf.Formats.format_filled_sparse_matrix!">
<code>Daf.Formats.format_filled_sparse_matrix!
<a class="docstring-binding" id="Daf.Formats.format_filled_empty_sparse_matrix!" href="#Daf.Formats.format_filled_empty_sparse_matrix!">
<code>Daf.Formats.format_filled_empty_sparse_matrix!
</code>
</a>
<span class="docstring-category">Function
Expand All @@ -1889,7 +1952,7 @@ <h3 id="Creating-properties">
<section>
<div>
<pre>
<code class="language-julia hljs">format_filled_dense_matrix!(
<code class="language-julia hljs">format_filled_empty_dense_matrix!(
format::FormatWriter,
rows_axis::AbstractString,
columns_axis::AbstractString,
Expand Down Expand Up @@ -2026,44 +2089,56 @@ <h2 id="Index">
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_empty_dense_matrix!">
<code>Daf.Formats.format_empty_dense_matrix!
<a href="formats.html#Daf.Formats.format_filled_empty_dense_matrix!">
<code>Daf.Formats.format_filled_empty_dense_matrix!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_empty_dense_vector!">
<code>Daf.Formats.format_empty_dense_vector!
<a href="formats.html#Daf.Formats.format_filled_empty_dense_vector!">
<code>Daf.Formats.format_filled_empty_dense_vector!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_empty_sparse_matrix!">
<code>Daf.Formats.format_empty_sparse_matrix!
<a href="formats.html#Daf.Formats.format_filled_empty_sparse_matrix!">
<code>Daf.Formats.format_filled_empty_sparse_matrix!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_empty_sparse_vector!">
<code>Daf.Formats.format_empty_sparse_vector!
<a href="formats.html#Daf.Formats.format_filled_empty_sparse_vector!">
<code>Daf.Formats.format_filled_empty_sparse_vector!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_filled_sparse_matrix!">
<code>Daf.Formats.format_filled_sparse_matrix!
<a href="formats.html#Daf.Formats.format_get_axis">
<code>Daf.Formats.format_get_axis
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_filled_sparse_vector!">
<code>Daf.Formats.format_filled_sparse_vector!
<a href="formats.html#Daf.Formats.format_get_empty_dense_matrix!">
<code>Daf.Formats.format_get_empty_dense_matrix!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_get_axis">
<code>Daf.Formats.format_get_axis
<a href="formats.html#Daf.Formats.format_get_empty_dense_vector!">
<code>Daf.Formats.format_get_empty_dense_vector!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_get_empty_sparse_matrix!">
<code>Daf.Formats.format_get_empty_sparse_matrix!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_get_empty_sparse_vector!">
<code>Daf.Formats.format_get_empty_sparse_vector!
</code>
</a>
</li>
Expand Down
40 changes: 26 additions & 14 deletions docs/v0.1.0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1474,44 +1474,56 @@ <h1 id="Index">
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_empty_dense_matrix!">
<code>Daf.Formats.format_empty_dense_matrix!
<a href="formats.html#Daf.Formats.format_filled_empty_dense_matrix!">
<code>Daf.Formats.format_filled_empty_dense_matrix!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_empty_dense_vector!">
<code>Daf.Formats.format_empty_dense_vector!
<a href="formats.html#Daf.Formats.format_filled_empty_dense_vector!">
<code>Daf.Formats.format_filled_empty_dense_vector!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_empty_sparse_matrix!">
<code>Daf.Formats.format_empty_sparse_matrix!
<a href="formats.html#Daf.Formats.format_filled_empty_sparse_matrix!">
<code>Daf.Formats.format_filled_empty_sparse_matrix!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_empty_sparse_vector!">
<code>Daf.Formats.format_empty_sparse_vector!
<a href="formats.html#Daf.Formats.format_filled_empty_sparse_vector!">
<code>Daf.Formats.format_filled_empty_sparse_vector!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_filled_sparse_matrix!">
<code>Daf.Formats.format_filled_sparse_matrix!
<a href="formats.html#Daf.Formats.format_get_axis">
<code>Daf.Formats.format_get_axis
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_filled_sparse_vector!">
<code>Daf.Formats.format_filled_sparse_vector!
<a href="formats.html#Daf.Formats.format_get_empty_dense_matrix!">
<code>Daf.Formats.format_get_empty_dense_matrix!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_get_axis">
<code>Daf.Formats.format_get_axis
<a href="formats.html#Daf.Formats.format_get_empty_dense_vector!">
<code>Daf.Formats.format_get_empty_dense_vector!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_get_empty_sparse_matrix!">
<code>Daf.Formats.format_get_empty_sparse_matrix!
</code>
</a>
</li>
<li>
<a href="formats.html#Daf.Formats.format_get_empty_sparse_vector!">
<code>Daf.Formats.format_get_empty_sparse_vector!
</code>
</a>
</li>
Expand Down
Binary file modified docs/v0.1.0/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/v0.1.0/search_index.js

Large diffs are not rendered by default.

Loading

0 comments on commit b438831

Please sign in to comment.