[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sbcl-devel
Subject:    Re: [Sbcl-devel] Way to compute object's size before allocation
From:       "Tobias C. Rittweiler" <tcr () freebits ! de>
Date:       2009-10-22 17:40:27
Message-ID: 87ocnztjhw.fsf () freebits ! de
[Download RAW message or body]

"Tobias C. Rittweiler" <tcr@freebits.de> writes:

> Luckily I only have to deal with sequences, so bit-vectors are enough to
> test for off-by-ones in my library, and they're quite space
> efficient. :-)

OTOH, the compiler itself does not like such amount of
data. E.g. compiling

  (defun foo (x)
    (aref #.(make-array (1- array-dimension-limit) 
                        :element-type 'bit
                        :initial-element 0)
          x))

results in a heap exhaustion for me. 

I think I've seen a ticket in the bug tracker asking for a way to turn
off constant propagation (which I guess is the culprit?) Is there a way
for that already?

  -T.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sbcl-devel mailing list
Sbcl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic