Talk:Hoshen–Kopelman algorithm: Difference between revisions

Content deleted Content added
Tags: Reverted New topic
Assessment: banner shell, Statistics (Rater)
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{WikiProject banner shell|class=}}C|1=
{{WikiProject Statistics}}
}}
 
== Bug in pseudo-code ==
 
If we implement the pseudo-code as is it does not work. The loops on x and y start at 0, but there are indexes in arrays with value x-1 and y-1, which would raise an error. [[User:Hugo.cavalcante|Hugo.cavalcante]] ([[User talk:Hugo.cavalcante|talk]]) 19:32, 24 February 2023 (UTC)
 
== Row major or column major ==
 
It should be noted that the pseudocode, as it is written, is very inefficient in row-major languages.
 
The way it is written is efficient in column-major languages.
 
It is inefficient in C, C++, Pascal, and several other languages.
 
It is effective in Fortran, MATLAB, Julia, and several other languages. [[Special:Contributions/91.135.53.211|91.135.53.211]] ([[User talk:91.135.53.211|talk]]) 12:32, 19 May 2024 (UTC)