Re: Speed/safety trade-offs and types vs. system classes



On Feb 20, 11:28 am, p...@xxxxxxxxxxxxxxxxx (Pascal J. Bourguignon)
wrote:

There are chances that on an implementation running on a 32-bit
computer, (make-array dimensions :element-type '(unsigned-byte 32)
:initial-element 0) be optimized to use one 32-bit word per array
slot.  But this doesn't matter at all.  What matter, is that your
array will work on any CL implementation, be it running on a 17-bit
eletronic computer, or on banana skins.

--
__Pascal Bourguignon__

Well, I depend on this feature, mostly developing my code on CLISP for
cross-platform development between Linux and Windows, and then testing
my code (with possible optimisations) on SBCL and ECL.

Bu this is the real beauty of CL : that I can effectively develop
something working without regards to data types, but that I can
afterward compile it with SBCL for almost free 10-fold performance (if
one doesn't mind the memory that SBCL takes up in contrast with
CLISP).

Regards,

Jurgen
.



Relevant Pages

  • Re: Comparison to Comparison
    ... alive", no matter how long you wait after the Collect call, and no ... regardless of the size of the array. ... As near as I can tell, the issue is that when you assign into the objectas part of the argument to the WeakReference constructor, the compiler generates a hidden local variable. ... But, absent a more invasive inspection of the execution of the code, I'd admit that even your code example isn't proof of that. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Cost of calling a standard library function
    ... BetovAsm does not handle structures so you must use an array instead. ... other more complex data managing methods and it will be to your ... It does not matter if you are writing in NASM, FASM, MASM, TASM, ... whether you have enough capacity to learn how to do the more difficult ...
    (alt.lang.asm)
  • Re: Optimiser question
    ... but only with the compiler optimisations turned up to maximum and no ... debug info (although I dont think debug info and optimisations mix ... timestamp value. ... An array of arrays is created for holding recorded timestamp ...
    (comp.lang.c)
  • Re: FAQ Topic - What online resources are available? (2009-01-29)
    ... "it doesn't work in this browser." ... remaining warning is the missing type in the script tag. ... videos, vs. a 0.1% that's arguable, or a matter of tastes. ... The term 'array' was used to mean something that is not a javascript ...
    (comp.lang.javascript)
  • Re: why did Abdellah record in accordance with all the musics? We cant tear attributes unless Charle
    ... Plenty of compatible damp corruptions on board threaten as the necessary burdens part. ... We double no matter how if Zachary's array isn't technical. ... We sum the competitive remedy. ...
    (sci.crypt)