[fpc-devel] about commit r29324

2014-12-28 Thread Mattias Gaertner
Hi, forwarded from Zeljko: It's about fpc issue http://bugs.freepascal.org/view.php?id=26370 It seems that TVariantArrayIterator.AtEnd loops for all Dims for no reason, so have impact on performance. *current implementation* function TVariantArrayIterator.AtEnd: Boolean; var i : sizeint;

Re: [fpc-devel] about commit r29324

2014-12-28 Thread Michael Van Canneyt
On Sun, 28 Dec 2014, Mattias Gaertner wrote: Hi, forwarded from Zeljko: It's about fpc issue http://bugs.freepascal.org/view.php?id=26370 It seems that TVariantArrayIterator.AtEnd loops for all Dims for no reason, so have impact on performance. *current implementation* function TVariantAr

Re: [fpc-devel] about commit r29324

2014-12-28 Thread Sergei Gorelkin
28.12.2014 17:36, Michael Van Canneyt пишет: On Sun, 28 Dec 2014, Mattias Gaertner wrote: Hi, forwarded from Zeljko: It's about fpc issue http://bugs.freepascal.org/view.php?id=26370 It seems that TVariantArrayIterator.AtEnd loops for all Dims for no reason, so have impact on performance.

Re: [fpc-devel] about commit r29324

2014-12-28 Thread Michael Van Canneyt
On Sun, 28 Dec 2014, Sergei Gorelkin wrote: 28.12.2014 17:36, Michael Van Canneyt пишет: On Sun, 28 Dec 2014, Mattias Gaertner wrote: Hi, forwarded from Zeljko: It's about fpc issue http://bugs.freepascal.org/view.php?id=26370 It seems that TVariantArrayIterator.AtEnd loops for all Dim

Re: [fpc-devel] about commit r29324

2014-12-28 Thread Mattias Gaertner
On Sun, 28 Dec 2014 15:36:49 +0100 (CET) Michael Van Canneyt wrote: >[...] > People really don't seem to get booleans, and why they scorn "While" is > beyond me. All these ugly "break" statements :( > > You may optimize even more by calculating Max:=pred(dims) once and doing > I<=Max; Isn't "

Re: [fpc-devel] about commit r29324

2014-12-28 Thread Michael Van Canneyt
On Sun, 28 Dec 2014, Mattias Gaertner wrote: On Sun, 28 Dec 2014 15:36:49 +0100 (CET) Michael Van Canneyt wrote: [...] People really don't seem to get booleans, and why they scorn "While" is beyond me. All these ugly "break" statements :( You may optimize even more by calculating Max:=pre

[fpc-devel] Question about building fpc for linux_x86 vs linux_x64

2014-12-28 Thread Gennady Agranov
Hi, I have built FPC from trunk - thanks to fpcup!!! For linux_x64 it built as is - great! For linux_x86 I had to add dependencies for rtl-objpas, rtl-extras, rtl-console and fcl-base to the following packages: M ide/fpmake.pp M utils/fpdoc/fpmake.pp M utils/fpmake.pp M

Re: [fpc-devel] Question about building fpc for linux_x86 vs linux_x64

2014-12-28 Thread Joost van der Sluis
On 12/28/2014 06:35 PM, Gennady Agranov wrote: I have built FPC from trunk - thanks to fpcup!!! For linux_x64 it built as is - great! For linux_x86 I had to add dependencies for rtl-objpas, rtl-extras, rtl-console and fcl-base to the following packages: M ide/fpmake.pp M utils/fpdo

Re: [fpc-devel] Question about building fpc for linux_x86 vs linux_x64

2014-12-28 Thread Marco van de Voort
In our previous episode, Joost van der Sluis said: > > What I do not understand is the following - why these missing > > dependencies were not required for linux_x64? > > What I do not understand is why you needed theses changes in the first > place? Can you send the commands you used to compile

Re: [fpc-devel] Question about building fpc for linux_x86 vs linux_x64

2014-12-28 Thread Gennady Agranov
>>> No, you do not have enough permissions to commit. But can you send the patch, so that I can see what you've changed? output of "svn diff" attached :) Thanks, Gennady Regards, Joost. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org ht

Re: [fpc-devel] Question about building fpc for linux_x86 vs linux_x64

2014-12-28 Thread Gennady Agranov
>>> 1. Sounds like fpmake doesn't recursively add dependencies? e.g. rtl-objpas should come as dep of fcl-base. >>> 2. if the patch just adds ALL those dependencies to all those packages, are they really tested as being really required for all of those? I knew that I should be more verbose in m

Re: [fpc-devel] Question about building fpc for linux_x86 vs linux_x64

2014-12-28 Thread Gennady Agranov
>>> 1. Sounds like fpmake doesn't recursively add dependencies? e.g. rtl-objpas should come as dep of fcl-base. I am not familar at all with fpmake design - if "fcl-base" depends on "rtl-objpas" - does it mean that "rtl-objpas" dependency is exported - i.e. -Fu to "rtl-objpas" will be added if