Re: Why is Base3.exe using 700+ K in windows task manager ?

From: The Half A Wannabee ("The)
Date: 01/21/04


Date: Wed, 21 Jan 2004 14:54:11 +0100


"Beth" <BethStone21@hotmail.NOSPICEDHAM.com> wrote in message
news:MQqPb.610$NU2.511@newsfep3-gui.server.ntli.net...
> The Half A Wannabee wrote:
> > Got some help at the RosAsm Board. Any comments to this newbie code
> ?
> >
> > 'Heap' in the following is redefined to mean an array of bytes...I
> dont even
> > know the propper definition of a heap. But I Beth someone in here
> can speak
> > volumes on the topic ;-)
> [ snip RosAsm code ]
>
> You have "violated" real assembly!!
>
> What if someone was to take this code and use it as a "library
> routine"??!!!
>
> This would hold back the "assembly rebirth" for decades to come!!! :(
>
> Beth :)
>
LOL. Well. Remember this was my _first_ attempt at writing anything in it.
(not considering the WM_EraseBkGnd response code ) However. I like your
comments anyhow. I have allready redesigned my approach, and it will hold,
with some major adjustments, and added design for objects with differing
size. Objects/Class are here to be understood as mere CHUCKS of memory. As
Spasm is ment to be spesific, I dont really need a centralized memorymanager
at all. For as litle code this really is, I can write a new one for the
seperate cases. And come to think of it, 4K is not that bad a waste. Its per
class. I will honestly not need more than about 300 "Class" -like objects in
the framework I am building and that will waste = 1200K maximum. Abit cruel,
but considering that windows allready waste as much, and that my DELPHI
version of the library uses about 12 _megs_ of ram for the same
functionality ( = 10x) , I consider 1200K to be acceptable. For the
HandleList, I will do a complety diffrent approach. And the speed will be
unparallelled to Delphi, even if I do it in beginner like style, just
because it is spesific. I have an advantage in that I have allready done
this framework once, in pascal so it is now much easier to see some
improvements. I will post back working code when I get there.

PS : My style is not like Spams/RosAsm. Not as readable. I have not yet
gotten hang of the macros. I only used three sofar, the AlignOn macro and
the push / pop macros. But I guess, after some time I will feel a need for
them. BTW : I think you would still have NO problem at understanding what
the code is trying to do.

Thanks you for input anyhow.