Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
ds2-notes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
datovky
ds2-notes
Commits
3b5c29d2
Commit
3b5c29d2
authored
5 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Cache: English
parent
2f1bc8de
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
05-cache/cache.tex
+1
-1
1 addition, 1 deletion
05-cache/cache.tex
with
1 addition
and
1 deletion
05-cache/cache.tex
+
1
−
1
View file @
3b5c29d2
...
@@ -95,7 +95,7 @@ read sequentially from the start to the end. This is called an \em{array scan.}
...
@@ -95,7 +95,7 @@ read sequentially from the start to the end. This is called an \em{array scan.}
In the I/O model, we can make the array start at a~block boundary. So we need
In the I/O model, we can make the array start at a~block boundary. So we need
to read
$
\lceil
N
/
B
\rceil
\le
N
/
B
+
1
$
consecutive blocks to scan all items. All blocks can
to read
$
\lceil
N
/
B
\rceil
\le
N
/
B
+
1
$
consecutive blocks to scan all items. All blocks can
be stored at the same place in the internal memory. This is obviously optimal.
be stored at the same place in the internal memory. This
strategy
is obviously optimal.
A~cache-aware algorithm can use the same sequence of reads. Generally, we do not know
A~cache-aware algorithm can use the same sequence of reads. Generally, we do not know
the sequence of reads used by the optimal caching strategy, but any specific sequence
the sequence of reads used by the optimal caching strategy, but any specific sequence
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment