Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread Michael Schnell
On 06/20/2013 05:31 PM, luiz americo pereira camara wrote: The point is that i would expect a smaller performance hit when there's no conversion going on. Something between 10% slower. In the cited case is more than 50% slow. As the "dynamic" types of (most) String Variables are already defined

Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread Michael Schnell
On 06/20/2013 05:31 PM, luiz americo pereira camara wrote: Maybe in that example there's going an (unneeded) conversion? If you use the same string type all over the place it would be a severe bug if _any_ conversion is done. Please check. -Michael

Re: [fpc-devel] where do download BinUtils for ARM - Raspberry Pi?

2013-06-21 Thread Michael Schnell
On 06/19/2013 06:10 PM, Dennis Poon wrote: I have mostly given up on creating the cross compiler for MIPSEB-OpenWrt (or DD-WRT) platform. That is a shame ! (When the time comes,) I would be very interested in a decently supported MIPS compiler and IDE-support, as the PIC32 series, that is ba

Re: [fpc-devel] where do download BinUtils for ARM - Raspberry Pi?

2013-06-21 Thread Michael Schnell
On 06/19/2013 06:10 PM, Dennis Poon wrote: I will be happy to use one for ARM debian. My Pal did some initial tests with the BeagleBone Black. Same comes with a Aengstrom Linux pre-installed in it's internal "Flash-Card". As he already has some experience with (PC-) Debian, he is going to move

Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread Hans-Peter Diettrich
Michael Schnell schrieb: On 06/20/2013 05:31 PM, luiz americo pereira camara wrote: The point is that i would expect a smaller performance hit when there's no conversion going on. Something between 10% slower. In the cited case is more than 50% slow. As the "dynamic" types of (most) String Var

Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread Michael Schnell
On 06/21/2013 09:54 AM, Hans-Peter Diettrich wrote: Again I'd assume that the memory allocation for the result is the most expensive operation with UnicodeString operands, independent from string lengths. Do you suggest that with UnicodeString - even when using 1 Byte encoding types such

Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread Hans-Peter Diettrich
Michael Schnell schrieb: On 06/21/2013 09:54 AM, Hans-Peter Diettrich wrote: Again I'd assume that the memory allocation for the result is the most expensive operation with UnicodeString operands, independent from string lengths. Do you suggest that with UnicodeString - even when using 1

Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread luiz americo pereira camara
2013/6/21 Michael Schnell : > On 06/20/2013 05:31 PM, luiz americo pereira camara wrote: >> >> Maybe in that example there's going an (unneeded) conversion? > > If you use the same string type all over the place it would be a severe bug > if _any_ conversion is done. > > Please check. > The affect

Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread Michael Schnell
On 06/21/2013 02:20 PM, Hans-Peter Diettrich wrote: Please note that I was *not* talking about AnsiStrings. Sorry I don't understand. I recon the OP asking about a performance hit, meant a degradation regarding the "new" (Delphi XE compatible") vs the "old" (Delphi 7 compatible) String lib

Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread Sergei Gorelkin
On 21.06.2013 17:11, luiz americo pereira camara wrote: 2013/6/21 Michael Schnell : On 06/20/2013 05:31 PM, luiz americo pereira camara wrote: Maybe in that example there's going an (unneeded) conversion? If you use the same string type all over the place it would be a severe bug if _any_ co

Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread Michael Schnell
On 06/21/2013 04:29 PM, Sergei Gorelkin wrote: What catches the eye is the large amount of calls to UniqueString, It would be interesting to see whether the old (not "new Unicode library") project does the same amount of UniqueString. I don't see why the new library should do more of these c

Re: [fpc-devel] where do download BinUtils for ARM - Raspberry Pi?

2013-06-21 Thread Dennis Poon
I have successfully compiled my lnet+SSL program on Raspberry Pi. Due to its slow CPU, it took a while but everything worked :-) Good to know there are more low-cost easy to use ARM platform in the market. Please do share your experience with BeagleBone especially on how to write OSless FPC app

Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread Hans-Peter Diettrich
Michael Schnell schrieb: On 06/21/2013 02:20 PM, Hans-Peter Diettrich wrote: Please note that I was *not* talking about AnsiStrings. Sorry I don't understand. You snipped the context, which was UnicodeString (second case). The AnsiString case was covered before. I recon the OP asking abo

Re: [fpc-devel] where do download BinUtils for ARM - Raspberry Pi?

2013-06-21 Thread Florian Klämpfl
Am 21.06.2013 09:32, schrieb Michael Schnell: > > A friend of mine just bought two BeagleBone "Black" boards for € 38.- > (+VAT) each. With the extremely versatile and well supported TI 1 GHz > chip (that is taken from TI's "AM..." series of devices for "embedded" > use instead of for "cellphone"

Re: [fpc-devel] where do download BinUtils for ARM - Raspberry Pi?

2013-06-21 Thread Thomas Schatzl
On Fri, 2013-06-21 at 18:39 +0200, Florian Klämpfl wrote: > Am 21.06.2013 09:32, schrieb Michael Schnell: > > > > A friend of mine just bought two BeagleBone "Black" boards for € 38.- > > (+VAT) each. With the extremely versatile and well supported TI 1 GHz > > chip (that is taken from TI's "AM...

Re: [fpc-devel] where do download BinUtils for ARM - Raspberry Pi?

2013-06-21 Thread Thomas Schatzl
On Fri, 2013-06-21 at 19:22 +0200, Thomas Schatzl wrote: > On Fri, 2013-06-21 at 18:39 +0200, Florian Klämpfl wrote: > > Am 21.06.2013 09:32, schrieb Michael Schnell: > > > > > > A friend of mine just bought two BeagleBone "Black" boards for € 38.- > > > (+VAT) each. With the extremely versatile a

Re: [fpc-devel] Performance of string handling in trunk

2013-06-21 Thread Sven Barth
Am 21.06.2013 10:36 schrieb "Michael Schnell" : > > On 06/21/2013 09:54 AM, Hans-Peter Diettrich wrote: >> >> >> Again I'd assume that the memory allocation for the result is the most expensive operation with UnicodeString operands, independent from string lengths. >> > > Do you suggest that with U