Skip to content

Commit 94df8e3

Browse files
Update src/ImageSharp/Processing/Processors/Quantization/EuclideanPixelMap{TPixel}.cs
Co-authored-by: Anton Firszov <[email protected]>
1 parent f63e1a4 commit 94df8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Processing/Processors/Quantization/EuclideanPixelMap{TPixel}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private static float DistanceSquared(Rgba32 a, Rgba32 b)
184184
/// <remarks>
185185
/// This cache uses a fallback table with 2,097,152 bins, each storing a 2-byte value
186186
/// (approximately 4 MB total), while the exact-match dictionary is limited to 256 entries
187-
/// and occupies roughly 4 KB. Overall, the worst-case memory usage is about 2 MB.
187+
/// and occupies roughly 4 KB. Overall, the worst-case memory usage is about 4 MB.
188188
/// Lookups and insertions are performed in constant time (O(1)) because the fallback table
189189
/// is accessed via direct indexing and the dictionary employs a simple hash-based bucket mechanism.
190190
/// The design achieves extremely fast color distance lookups with a predictable, fixed memory footprint.

0 commit comments

Comments
 (0)