Hello, people.

Previous topic - Next topic

com_1

I've already said(I said) I am from Russia.
And joined(login in these site) my brother because he spoke(speak) in German.

MrTAToad

Sorry - must have missed that bit  ;/

com_1

A question ?

Today bought(to buy) new Laptop.("Win 7")

Simple code:

WHILE TRUE
SHOWSCREEN; WEND

compiled for(maybe) 20 seconds !!!!!!!!!!


Where is the problem ?

Is it really all (who has "Vista" or "Win 7") so or just only I (on my "Win 7") ?
May have something to do in(on) - Systemoptions ?


Please, help me.

MrTAToad

Is it 32-bit or 64-bit ?  I have no problem with Windows 7 x64

Possible problems include recursive entry in %PATH%

Compiling over a network will be slow...

Any chance of being able to record it with, say, Fraps ?

com_1

1. Systemtyp: 32 Bit

2. GLBasic project - FPS 60

3. I found the problem. ("Mini Internet Security")

Without "Mini Internet Security" compiled for - 2.8 sec. (finally)


Thanks for participation - MrTAToad

MrTAToad

Seems like it was checking each and everything new file :)

com_1

You are right. (bad "Security")

Thanks again.

MrTAToad


com_1

Sorry - MrTAToad


A question ?
How about the acceleraton (speed) in "GLBasic - ver.8".

MrTAToad

For use with the iPhone ?  Never used it.

com_1

A question ?

What about the "Compiler" speed in "GLBasic - 8". (faster, or .....)

MrTAToad

#86
Thats an interesting question.  I made a post somewhere about timings with V8 - cant find it now though.

Anyway, the idea is that if your program keeps executing code within an extended type you should be able to gain a respectable amount of speed.  However, if you keep flitting in and out of an extended type, then there will be no speed gained.

As for program size :

Code (glbasic) Select
TYPE THello
FUNCTION hello%:
PRINT "Hello",0,0
SHOWSCREEN
KEYWAIT
ENDFUNCTION
ENDTYPE

LOCAL hello AS THello

hello.hello()


compiles to 927K in V8 (release mode) and 928K in debug mode, whilst with V7 its 908K in release mode.  An extra 18K isn't that much.

com_1

I use "GLBasic - version 6".
Create a "large" project it is simply impossible. (RTS for example)

Therefore I asked.
The situation has changed in the new version ?

Slydog

How large is large?
My current project is 3300 'commands', and contains 18 .gbas files (10 are my libraries).
It compiles and runs just fine.  (slow sometimes when it has to recompile everything)

Prior to version 8, I had to move my TYPES and CONSTANTS and GLOBALS to my main .gbas file because I had a hard time with my libraries accessing other libraries and constants, and didn't realize GLOBALS were global only to that module.  Plus I was just starting out with GLBasic.  Much has been improved since version 7 in regards to TYPEs, but I have yet to try to move everything back to how I would like it (ie. my TYPES to their corresponding library).
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

Schranz0r

Update to V8 !
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard