PureBytes Links
Trading Reference Links
|
Right ... and of course 274KB is not even worth discussing in this
day and age ... it'll be interesting to see what happens when they
reach multi-hundred megabyte size as a result of having millions of
rows.
--- In amibroker@xxxxxxxxxxxxxxx, uenal.mutlu@xxxx wrote:
> Hi Fred,
> the memory resource is managed by the operating system.
> In ABtool each Float and Int32 are 4 bytes long,
> strings are by default 128 bytes long (you can reduce/enlarge
> this one a table basis). So a table containing a String field
> of size 16 and 10 Float fields would conume 16+10*4=56
> bytes per row. If there are 5000 rows, than this sums up to
> about 274 KB memory.
> UM
>
> ----- Original Message -----
> From: "Fred" <fctonetti@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, May 06, 2003 5:34 AM
> Subject: [amibroker] Re: Additions to ABtool v0.0.5 beta
>
>
> > Thanks for the reply ... I had already figured this out by trial
and
> > error and of course have already moved on to table building as
that
> > obviously is where the action is assuming one has enough memory.
By
> > the way just for my own edification how would routines like
ABTool
> > handle the situation when memory got used up ? would it utilize
disk
> > directly or is this sort of stuff handled by the windows swap
file
> > or ?
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, uenal.mutlu@xxxx wrote:
> > > Hi Fred,
> > > after FileWriteNum(...) simply use FileWriteStr(",", fh) to
append
> > > a comma to the data. And yes, line end is done using "\n".
> > > UM
> > >
> > > ----- Original Message -----
> > > From: "Fred" <fctonetti@xxxx>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Tuesday, May 06, 2003 2:39 AM
> > > Subject: [amibroker] Re: Additions to ABtool v0.0.5 beta
> > >
> > >
> > > > Thanks for the confidence.
> > > >
> > > > For folks that have done C++ or similar programming, concepts
> > > > like "\n" are probably cake as are the fact that "," can't be
> > added
> > > > behind numbers in FileWriteNum statements and I know this is
> > beta,
> > > > but even for those that have done their share of programming
in
> > > > unrelated languages in the past there isn't enough info to
keep
> > this
> > > > from initially being a semi-painful experience.
> > > >
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|