mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-07 11:10:59 +01:00
* reduce initial size of movelist, 16 is enough for most cases
git-svn-id: trunk@36324 -
This commit is contained in:
parent
5e07957594
commit
4b17ad80d0
@ -720,7 +720,7 @@ unit rgobj;
|
||||
begin
|
||||
{ don't use sizeof(tmovelistheader), because that ignores alignment }
|
||||
getmem(movelist,ptruint(@movelist^.data)-ptruint(movelist)+60*sizeof(pointer));
|
||||
movelist^.header.maxcount:=60;
|
||||
movelist^.header.maxcount:=16;
|
||||
movelist^.header.count:=0;
|
||||
movelist^.header.sorted_until:=0;
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user