bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14599: An option to make vector allocation aligned


From: Jan Schukat
Subject: bug#14599: An option to make vector allocation aligned
Date: Wed, 12 Jun 2013 17:32:35 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

On 06/12/2013 04:59 PM, Ludovic Courtès wrote:
Instead, I would suggest using the scm_take_ functions if allocating
from C, as you noted.

The whole point of me doing this is so I can use lisp files to define aligned 
data (and using lisp as a flexible text data format that can be compiled is the 
primary reason I use guile).

So either I make normal vectors aligned, or I define a whole new set of 
datatypes of aligned vectors with their own read syntax.

The former I just did today, the latter would take me probably a quite a bit of 
time to do properly. So, I'm gonna keep using my compile time option for now, 
and probably write a module of aligned vectors at some point in the future when 
I have more of an understanding what exactly the requirements for something 
like this would be.

Jan








reply via email to

[Prev in Thread] Current Thread [Next in Thread]