realbasic-games
[Top] [All Lists]

Re: Game engine test

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Game engine test
From: Asher Dunn <asher at fireyesoftware dot com>
Date: Sat, 25 Mar 2006 16:47:23 -0500
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <20060317180027 dot 96F56117533D at lists dot realsoftware dot com> <4424B89C dot 2010408 at optusnet dot com dot au> <8268A93C-A492-41B9-A867-091978805AC2 at miensoftware dot com> <12B1852E-DE58-4871-A997-E7D44E40CBF4 at mindspring dot com> <BF4347D4-DEA4-4533-87BE-BEB12B106D91 at miensoftware dot com> <5FA27ACF-802D-4210-80DA-7E31FF0AAF60 at chaoticbox dot com> <F8DC5A9A-4050-4894-B0DF-9F62E48EA45E at miensoftware dot com> <8AB344CF-F35A-4A6D-B0FD-2E607E71D2F2 at chaoticbox dot com> <44D60B02-54A3-443F-9928-9C7D2287B8E1 at miensoftware dot com> <c4bb46d8e4d985840c29f77cba34d208 at fireyesoftware dot com> <54569845-5868-4975-B460-F215A263FF64 at miensoftware dot com>

On Mar 25, 2006, at 4:29 PM, Lo Saeteurn wrote:

Why would RS do it this way when #pragmas for bounds checking is off?

Because #pragmas only affect the method they are in, not methods called by that method.

So are RB arrays faster than memoryblocks?

I think so. But you cannot pass RB arrays to declares.

I thought memoryblocks were the fastest thing in RB.

They are faster than strings for manipulating blocks of data, but they are not fastest for everything.

Learning how much faster a simple array in C compared to a basic (harder-to-use) memoryblock is not encouraging...

I know, it's not encouraging at all. Don't worry though, help is on its way...

Are RB arrays using methods to get the data as well? They must be special tables.

I don't know how arrays work internally, but I don't think they use methods. Someone from RS will have to answer that one, though.

-- Asher

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>