chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] CHICKEN in production


From: Alex Shinn
Subject: Re: [Chicken-hackers] CHICKEN in production
Date: Wed, 8 Oct 2014 12:52:36 +0900

On Wed, Oct 8, 2014 at 9:30 AM, r <address@hidden> wrote:

The main problem is that pure Scheme implementation double memory usage (half of memory reserved for coping GC), a full search index tree contains about 2M nodes (approx 40*2MB).

This should be easy to workaround using the mmap interface in the posix egg.

Also library should run on ios/android/win (offline catalog on user device or PC) packaging libchicken with eggs very tricky.

Packaging utilities are easy to improve on, and for distribution to devices automatic static compilation may be the best option.

Performance tests show that reference implementation 2-3 times slower than C.

For the low-level nature of your application this may be difficult to improve on.

Passing strings through FFI is pretty slow, for example c-string type was used to represent color value

Why not an RGB value?

-- 
Alex


reply via email to

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