Fossil SCM

Replaced www/encode10.gif in www/delta_encoder_algorithm.wiki with a Pikchr.

wyoung 2020-09-30 08:38 trunk
Commit a9d0c2a68c326c2664b2c259a3c1e4246be5c3e8907ad564f4dc6f888ad9fdbc
--- test/commit-warning.test
+++ test/commit-warning.test
@@ -271,11 +271,10 @@
271271
1\twww/build-icons/win32.gif\tbinary data
272272
1\twww/concept1.gif\tbinary data
273273
1\twww/concept2.gif\tbinary data
274274
1\twww/copyright-release.pdf\tbinary data
275275
1\twww/encode1.gif\tbinary data
276
- 1\twww/encode10.gif\tbinary data
277276
1\twww/encode2.gif\tbinary data
278277
1\twww/encode3.gif\tbinary data
279278
1\twww/encode4.gif\tbinary data
280279
1\twww/encode5.gif\tbinary data
281280
1\twww/encode6.gif\tbinary data
282281
--- test/commit-warning.test
+++ test/commit-warning.test
@@ -271,11 +271,10 @@
271 1\twww/build-icons/win32.gif\tbinary data
272 1\twww/concept1.gif\tbinary data
273 1\twww/concept2.gif\tbinary data
274 1\twww/copyright-release.pdf\tbinary data
275 1\twww/encode1.gif\tbinary data
276 1\twww/encode10.gif\tbinary data
277 1\twww/encode2.gif\tbinary data
278 1\twww/encode3.gif\tbinary data
279 1\twww/encode4.gif\tbinary data
280 1\twww/encode5.gif\tbinary data
281 1\twww/encode6.gif\tbinary data
282
--- test/commit-warning.test
+++ test/commit-warning.test
@@ -271,11 +271,10 @@
271 1\twww/build-icons/win32.gif\tbinary data
272 1\twww/concept1.gif\tbinary data
273 1\twww/concept2.gif\tbinary data
274 1\twww/copyright-release.pdf\tbinary data
275 1\twww/encode1.gif\tbinary data
 
276 1\twww/encode2.gif\tbinary data
277 1\twww/encode3.gif\tbinary data
278 1\twww/encode4.gif\tbinary data
279 1\twww/encode5.gif\tbinary data
280 1\twww/encode6.gif\tbinary data
281
--- www/delta_encoder_algorithm.wiki
+++ www/delta_encoder_algorithm.wiki
@@ -107,11 +107,38 @@
107107
<li>move the window forward one byte.
108108
</li>
109109
</ul>
110110
</p>
111111
112
-<img src="encode10.gif" align="right" hspace="10">
112
+<div style="float:right">
113
+<verbatim type="pikchr" style="float:right">
114
+TARGET: [
115
+ down
116
+ "Target" bold
117
+ box fill palegreen width 150% height 200% "Processed"
118
+ GI: box same as first box fill yellow height 25% "Gap → Insert"
119
+ CC: box same fill orange height 200% "Common → Copy"
120
+ W: box same as GI fill lightgray width 125% height 200% "Window" bold
121
+ box same as CC height 125% ""
122
+ box same fill white ""
123
+]
124
+
125
+[ "Base" bold ; right ; arrow 33% ] with .e at TARGET.GI.nw
126
+[ "Slide" bold ; right ; arrow 33% ] with .e at TARGET.W.nw
127
+
128
+ORIGIN: [
129
+ down
130
+ "Origin" bold
131
+ B1: box fill white
132
+ B2: box fill orange height 200%
133
+ B3: box fill white height 200%
134
+] with .nw at 0.75 right of TARGET.ne
135
+
136
+arrow from TARGET.W.e to ORIGIN.B2.w "Signature" aligned above
137
+</verbatim>
138
+</div>
139
+
113140
<p>To make this decision the encoder first computes the hash value for
114141
the NHASH bytes in the window and then looks at all the locations in
115142
the "origin" which have the same signature. This part uses the hash
116143
table created by the pre-processing step to efficiently find these
117144
locations.</p>
118145
119146
DELETED www/encode10.gif
--- www/delta_encoder_algorithm.wiki
+++ www/delta_encoder_algorithm.wiki
@@ -107,11 +107,38 @@
107 <li>move the window forward one byte.
108 </li>
109 </ul>
110 </p>
111
112 <img src="encode10.gif" align="right" hspace="10">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113 <p>To make this decision the encoder first computes the hash value for
114 the NHASH bytes in the window and then looks at all the locations in
115 the "origin" which have the same signature. This part uses the hash
116 table created by the pre-processing step to efficiently find these
117 locations.</p>
118
119 ELETED www/encode10.gif
--- www/delta_encoder_algorithm.wiki
+++ www/delta_encoder_algorithm.wiki
@@ -107,11 +107,38 @@
107 <li>move the window forward one byte.
108 </li>
109 </ul>
110 </p>
111
112 <div style="float:right">
113 <verbatim type="pikchr" style="float:right">
114 TARGET: [
115 down
116 "Target" bold
117 box fill palegreen width 150% height 200% "Processed"
118 GI: box same as first box fill yellow height 25% "Gap → Insert"
119 CC: box same fill orange height 200% "Common → Copy"
120 W: box same as GI fill lightgray width 125% height 200% "Window" bold
121 box same as CC height 125% ""
122 box same fill white ""
123 ]
124
125 [ "Base" bold ; right ; arrow 33% ] with .e at TARGET.GI.nw
126 [ "Slide" bold ; right ; arrow 33% ] with .e at TARGET.W.nw
127
128 ORIGIN: [
129 down
130 "Origin" bold
131 B1: box fill white
132 B2: box fill orange height 200%
133 B3: box fill white height 200%
134 ] with .nw at 0.75 right of TARGET.ne
135
136 arrow from TARGET.W.e to ORIGIN.B2.w "Signature" aligned above
137 </verbatim>
138 </div>
139
140 <p>To make this decision the encoder first computes the hash value for
141 the NHASH bytes in the window and then looks at all the locations in
142 the "origin" which have the same signature. This part uses the hash
143 table created by the pre-processing step to efficiently find these
144 locations.</p>
145
146 ELETED www/encode10.gif
D www/encode10.gif

Binary file

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button