[fpc-devel] Unicodestring branch, please test and help fixing

Florian Klaempfl florian at freepascal.org
Wed Sep 10 16:50:03 CEST 2008


listmember schrieb:
>>> But, I could write a gigantic data mining application, a database
>>> application
>>> or a myriad of such apps that uses the above class without doing a
>>> single
>>> pixel of GUI stuff.
>>
>> I'd like to see that: it will be guaranteed dog slow :(
> 
> Hmm.. may be, maybe not.
> 
> Last year I wrote a natural lang parser (Pascal) and gave the source to
> a Java developer of friend mine.
> 
> It turned out to be faster in Java --classes and all. For some reason,
> using the same algorithm (my code converted to Java, basically), Java
> beat my natively compiled code. And, no there was no GUI involved.

Without detailed code one can say nothing about it. Just I/O being done
wrong can ruin performance.

> 
> compiler guys all the same} and ask, instead, to give us
> reference-counted 4-byte (actually, preferably 6-bytes) per cell
> arrays/strings.
> 

What's wrong with an dyn. array of DWord?




More information about the fpc-devel mailing list