The best way to make loading programs fast is to use the deploy tool.
This builds a new image that's smaller and should load a lot faster.
But this might be inconvenient for shell scripting. For that, you
might want to build an image that just has fewer things in it. This
can be done by specifying what you want loaded when you're
bootstrapping.

For your first question, what do you mean working with two bits of
data only? The smallest addressable unit on most computers is 8 bits,
and in Factor it's actually a bit larger than that. But this shouldn't
really matter. If you want an array of 2-bit items, that's another
story. For this, we'd probably want to add a library similar to
bitarrays that operates on 2-bit items; this library doesn't exist
yet, but it wouldn't be too hard to whip up.

Dan

On Thu, May 27, 2010 at 8:18 AM, Vladimir Darmanian
<[email protected]> wrote:
> Hi there,
>
> - how do you work with 2bits of data only?  I looked at bit-arrays but they
> use an integer in the backend which defeats the purpose.
> - using factor in shell scripts is really slow - takes forever to load the
> vm it seems.  will saving the image for each script be the best way to
> improve the speed?
> Thanks, keep up the good work with factor!
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>

------------------------------------------------------------------------------

_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to