System used: Intel Core 2 Quad Q9400 @ 2.66GHz with 4GB memory
FPC 2.4 64-bit under Ubuntu 8.04.2 LTS 64-bit
Which -Op??? can I use to optimize my application best for the above system?
Is -OpPENTIUMM better or worse than -OpPENTIUM4? Is any of them
appropriate for a
Graeme Geldenhuys wrote:
Is -OpPENTIUMM better or worse than -OpPENTIUM4? Is any of them
appropriate for a Core2Quad CPU?
OK, I think I answered my own question when I tried it on my projects.
-OpATHLON64 seems to be the option for my CPU type. 'fpc -i' gives you the
available options.
Hi,
I'm looking for a function or a procedure that tries to allocate
memory and return nil on failure.
GetMem seems to be a good candidate but it doesn't works as expected.
The FreePascal documentations
(http://www.freepascal.org/docs-html/rtl/system/getmem.html) tells
that it returns nil on
Hello,
I've made a small test:
if (0.1+0.2) = 0.3 then
The only compiler/interpator that actually tells that it equal is FPC.
I've tested it using Javascript (in Firefox), Ruby, Python, C (gcc) and
Perl.
Except FPC, everyone tells that 0.1+0.2 = 0.30004
Can someone explain how
Please forgot my stupid question.
GetMem works perfectly as described in the documentation. My problem
cames from an another part of my program.
Yann
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
In our previous episode, ik said:
I've made a small test:
if (0.1+0.2) = 0.3 then
The only compiler/interpator that actually tells that it equal is FPC.
I've tested it using Javascript (in Firefox), Ruby, Python, C (gcc) and
Perl.
Except FPC, everyone tells that 0.1+0.2 =
On 26 Feb 2010, at 11:37, ik wrote:
I've made a small test:
if (0.1+0.2) = 0.3 then
The only compiler/interpator that actually tells that it equal is FPC.
Then you are very lucky that FPC says it is equal.
I've tested it using Javascript (in Firefox), Ruby, Python, C (gcc)
and
Perl.
On Fri, 26 Feb 2010 11:16:53 +0200, Graeme Geldenhuys wrote about Re:
[fpc-pascal] Which -Op??? parameter is appropriate:
Graeme Geldenhuys wrote:
Is -OpPENTIUMM better or worse than -OpPENTIUM4? Is any of them
appropriate for a Core2Quad CPU?
OK, I think I answered my own question
David W Noon wrote:
If I were shipping compiled binaries, I would take a more lowest
common denominator approach, specifying an 80386 or some such.
However, I don't have that problem.
Yes, we do that for our released products too. I was simply playing around
with optimisation settings to see
Has anybody done a speed test between these two, to see how they perform
with large test files?
* fpcsrc/packages/regexpr/src/regexp.pp
vs
* lazarus/components/synedit/synregexpr.pas
* TRegExpr (no idea what is latest and if FPC compatible)
From the following link it sounds like
Hi,
There are a few regex units include with FPC and Lazarus, and dozens more
available for Delphi (and probably FPC too).
Which one is the most well known, or best to use, or most feature complete
regarding syntax etc...?
* fpcsrc/packages/regexpr/src/old/regexpr.pp
*
11 matches
Mail list logo