Re: Range checking in BlackBox

From: [at]} <robert.d.campbell{>
Date: Mon, 17 Feb 2003 08:52:27 +0000 (GMT)

----boundary-LibPST-iamunique-718718728_-_-
Content-type: text/plain

> On Sat, 15 Feb 2003, Wojtek Skulski wrote:
>
> > Yes, of course. I can switch off range checking in BlackBox, too.
> > It is a compile-time option. Did you not know this?

>
> Actually, this is not true. I recall that it used to be true in erlier

> versions of the compiler, but this is not the case anymore under v 1.4.
> Assertions can be switched off, but not the array bounds checks. I am
> surprised. I agree with Andreas that it should be possible to
> compile low-level modules without such checks. Perhaps this should
> go the wish list for version 1.5. How do you think?
>
> I apologise.
>
> Wojtek


I once tried switching off range checking for a much tested
'low-level' module (a Fast Fourier Transform) by declaring
the ARRAYS as untagged (see Platform Specific Issues).

It was easy enough to do, but as the benefit seemed at best
marginal I no longer do it.

Cheers

Robert


ps How do you switch off assertions?


--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.



----boundary-LibPST-iamunique-718718728_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9f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WxhdGVkIHRvIHRoaXMgZW1haWwgbGlzdCB0byB0aGUgbGlz
dCBvd25lciBhdFxwYXINCiAgIG93bmVyLWJsYWNrYm94QG9iZXJvbi5jaFxwYXINClxwYXINCkN1
cnJlbnQgcG9zdGluZyBwb2xpY3k6XHBhcg0KXHBhcg0KYSkgVG8gcG9zdCB5b3Ugc2hvdWxkIHVz
ZSB0aGUgc2FtZSBhZGRyZXNzIGJ5IHdoaWNoIHlvdSBhcmUgc3Vic2NyaWJlZCB0byB0aGUgbWFp
bGluZyBsaXN0LiBUaGF0IHdheSwgdGhlIGxpc3Qgc2VydmVyIHdpbGwgcmVjb2duaXplIHlvdSBh
cyBzdWJzY3JpYmVyIGFuZCBmb3J3YXJkIHlvdXIgcG9zdGluZyBpbW1lZGlhdGVseSwgd2l0aG91
dCBjcmVhdGluZyBhbnkgb3ZlcmhlYWQuXHBhcg0KXHBhcg0KYikgSWYsIGZvciBzb21lIHJlYXNv
biwgeW91IGNhbm5vdCBwb3N0IGZyb20gdGhlIGFkZHJlc3MsIGJ5IHdoaWNoIHlvdSBhcmUgc3Vi
c2NyaWJlZCwgeW91ciBtZXNzYWdlIHdpbGwgYmUgbW9kZXJhdGVkIHRvIGF2b2lkIHNwYW0uIFBs
ZWFzZSB1bmRlcnN0YW5kIHRoYXQgbW9kZXJhdGlvbiB3aWxsIG9mdGVuIGNhdXNlIHNvbWUgZGVs
YXksIGluIHBhcnRpY3VsYXIgb3ZlciB3ZWVrZW5kcyBvciBob2x5ZGF5cy5ccGFyDQp9


----boundary-LibPST-iamunique-718718728_-_---
Received on Mon Feb 17 2003 - 09:52:27 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:27 UTC