unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Fix limitations on vector length
@ 2002-06-25 13:32 Roland Orre
  2002-06-25 19:50 ` Dirk Herrmann
  2002-10-04 18:24 ` Thien-Thi Nguyen
  0 siblings, 2 replies; 3+ messages in thread
From: Roland Orre @ 2002-06-25 13:32 UTC (permalink / raw)
  Cc: Marius Vollmer, Erik Swahn


Some of our code using multidimensional arrays behaved buggy and that
showed to be caused by the limitations of vector lengths to 24 bits,
we need at least a few bits more at the moment.

Problems:
1) the allocation of the array did not cause an error message.
2) we need an urgent simple fix for utilizing big arrays.

What we inted to do is to change the SCM_LENGTH macro and the
memory allocation for vectors and arrays so when the length
need more than 24 bits the length is stored in the beginning
of the array memory, that is we add an offset of four to the
base pointer.

Any comments?

	Roland Orre


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-04 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-25 13:32 Fix limitations on vector length Roland Orre
2002-06-25 19:50 ` Dirk Herrmann
2002-10-04 18:24 ` Thien-Thi Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).