3.89B1 creates bigger executeables !!!!!!

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

3.89B1 creates bigger executeables !!!!!!

Post by Psychophanta »

3.89B1 creates bigger executeables than 3.81 :cry: :cry: :cry:
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Probably due to the inline window resize procedure and a bit from the dynamic object managment. Try only with a different lib than the 'window' libs to be sure..
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Do you mean ResizeGadget() for example?
Mmmmhh... OK, if it's only that... Anyway, i'll test... :twisted:
lets not be scared 8O :D
Last edited by Psychophanta on Mon Mar 22, 2004 6:14 pm, edited 1 time in total.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

No, the resize window handler is now changed to allow to use the #PB_Event_WindowResize constant in the main loop, without have to setup a callback. And this handler is a bit big (3 kb), but I think it worth it. So yes, the Window lib has grown of 3 kb.
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Fred wrote:No, the resize window handler is now changed to allow to use the #PB_Event_WindowResize constant in the main loop, without have to setup a callback. And this handler is a bit big (3 kb), but I think it worth it. So yes, the Window lib has grown of 3 kb.
Hi Fred! :D

Can't be into a separated lib the resize stuff?
ARGENTINA WORLD CHAMPION
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Can't be into a separated lib the resize stuff?
Even though its only 3k?
--Kale

Image
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

lol :mrgreen:

The window lib has grown exactly 3584 bytes by this. What are 3584 bytes in a GUI application??
I think you guys really should stop being so fanatic about the sizes, and think a little more realistic.

Timo
quidquid Latine dictum sit altum videtur
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

I think you guys really should stop being so fanatic about the sizes, and think a little more realistic.
:lol:

...yeah, ok, but the danger begins here; i mean that could be added 4k more for Sprite lib, 2k more for requester lib ... and so on ... :evil:
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

IMO I preffer smaller exes, better.
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

freak wrote:lol :mrgreen:

The window lib has grown exactly 3584 bytes by this. What are 3584 bytes in a GUI application??
I think you guys really should stop being so fanatic about the sizes, and think a little more realistic.

Timo
3 k on THIS lib, and tomorrow another 4 k in other... I just suggest that some libs could be splited to keep small size, don't see why is fanatism!

The principle to just compile what is needed is good i think!
ARGENTINA WORLD CHAMPION
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Post by techjunkie »

ricardo wrote:The principle to just compile what is needed is good i think!
I agree - the things you don't use shouldn't be included... Why should it?
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

I agree - the things you don't use shouldn't be included... Why should it?
I agree too, but i think we can let Fred get away with 3k this time! :wink:
--Kale

Image
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Fred is good, but he would have to be miraculous to improve PB without adding something, somewhere.

PB could produce much bigger exe sizes and still be small compared to most. Often the resources we use are bigger than the exe that uses them.

I vote more enhancements and improvements, even if it costs a whole extra 10KB! :twisted:

* passes out the smelling salts *
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

Post by Dreglor »

i agree with dare here,
if it adds good things then who cares what it adds to the executes
size doesn't all matter to computers these days when it comes to bytes and kilobytes it not like everyone is on 486's with 5meg of harddrive space
~Dreglor
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Kale wrote:
I agree - the things you don't use shouldn't be included... Why should it?
I agree too, but i think we can let Fred get away with 3k this time! :wink:
:D :D :D

Yes, we are only giving our humilde opinion :wink:

Fred finally decide!
ARGENTINA WORLD CHAMPION
Post Reply