RobbeK
03-03-2014, 21:13
Hi all,
Curious (once again) to do a compare against Freebasic (Reputed to produce very fast executables).
incl :
- TB source : time shows up at the left top corner of the canvas.
(rar)
sources of the FB files - one uses the Math module of Mr Jean Debord (easier coding , but switches to Double floats and remarkable slower)
the other just the brute force way - using De Moivre's formula (Single floats and identical with TB).
Display routines are almost indentical - TB uses a pointer to a bitmap which is copied to the canvas - in Freebas I used a pointer directly to thescreenbuffer.
FB compiled without the gadgets - I was only interested in the benchmarks.
On my system - the TB runs at the same speed as FB De Moivre ...
best Rob
(ah if someone would tell me how fast this runs on a modern computer ? ) - 26 sec. on mine ;-)
Curious (once again) to do a compare against Freebasic (Reputed to produce very fast executables).
incl :
- TB source : time shows up at the left top corner of the canvas.
(rar)
sources of the FB files - one uses the Math module of Mr Jean Debord (easier coding , but switches to Double floats and remarkable slower)
the other just the brute force way - using De Moivre's formula (Single floats and identical with TB).
Display routines are almost indentical - TB uses a pointer to a bitmap which is copied to the canvas - in Freebas I used a pointer directly to thescreenbuffer.
FB compiled without the gadgets - I was only interested in the benchmarks.
On my system - the TB runs at the same speed as FB De Moivre ...
best Rob
(ah if someone would tell me how fast this runs on a modern computer ? ) - 26 sec. on mine ;-)