mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-04 07:34:51 +01:00
* TDOMNodeList.GetCount speed up from alexx, fixes #6891
git-svn-id: trunk@3568 -
This commit is contained in:
parent
5e4776f4ce
commit
1e3352a350
@ -959,6 +959,11 @@ function TDOMNodeList.GetCount: LongWord;
|
||||
var
|
||||
child: TDOMNode;
|
||||
begin
|
||||
if not UseFilter then
|
||||
begin
|
||||
Result := Count;
|
||||
exit;
|
||||
end;
|
||||
Result := 0;
|
||||
child := node.FirstChild;
|
||||
while Assigned(child) do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user