[prev in list] [next in list] [prev in thread] [next in thread]
List: sbcl-devel
Subject: Re: [Sbcl-devel] food for constraint propagation, maybe
From: Christophe Rhodes <csr21 () cantab ! net>
Date: 2009-11-19 11:08:11
Message-ID: 87lji23h7o.fsf () cantab ! net
[Download RAW message or body]
Nikodemus Siivola <nikodemus@random-state.net> writes:
> Though constraint propagation is already an unholy timesink, some of
> these look potentially interesting: eg. propagating BOUNDP would make
> for nicer special variable access code, and ARRAY-HEADER-P is also
> almost certainly worth looking at. EQUAL seems like a good candidate
> too...
> COMMON-LISP:ARRAY-HAS-FILL-POINTER-P
> COMMON-LISP:ARRAY-IN-BOUNDS-P
> SB!KERNEL:%ARRAY-DISPLACED-P
Based on extensive user and developer feedback (read: a conversation
with Juho and Paul on IRC), it seems that there is demand for a little
bit of type system and compiler hackery, to teach the system about
particular kinds of non-simple arrays. The comment that motivates this
is "adjustable arrays are total crap in sbcl in general;
vector-push-extend is particularly crap".
I think I can do the type system modifications; a preliminary, which is
to teach the type system that (and <array-type> (not simple-array))
means that the array is definitely complex, seems to be working, and
incidentally fixes #309129. The full modifications will have to wait
until after sbcl-1.0.33; this is just a heads-up to say that it might
soon become possible to exploit specific bits of array properties rather
more than at present.
Cheers,
Christophe
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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