[EMAIL PROTECTED] wrote:
> As far as I remember u-Cherokee
> code was a subset of the original source code and considering that in
> current trunk (future 0.6.0):
> 1) many hot path have been optimized for
> speed;
> 2) it is now possible to cut a few more features if they are not
> needed;
Glad to hear that :)!
> 3) the amount of source code removed by u-Cherokee #ifdef ...
> #endif lead to very small reductions of size of libraries and
> executable program;
>
> ... that decision was not too bad.
I agree that the former way of producing embedded build was not perfect.
Using "purpose" conditionals instead of "feature" conditionals is usually
considered a bad thing.
> IMHO some new
> customization for embedded systems could be certainly added, specially
> if someone proves with real numbers the pros (in size or speed) in an
> embedded environment.
>
> I am thinking to a few things that could be cut
> off at compile time, i.e: CGI, FastCGI, directory listings support,
> etc.; any further ideas are welcome.
Presently, we are using CGI and it is a good way to quickly start and debug
projects. But in the end I plan making our web-interface engine into
Cherokee module ("handler"?) and so, the CGI handler will no longer be
needed. We don't need FastCGI, therefore. Directory listing will not be
needed in the end but is useful during debugging (browsing file-system,
retrieving some files from the box).
Basically what we want is easy feature selection at compile time, so we
could turn off everything unneeded currently, and be able to turn some
things on quickly, for experiments or as needed. Also feature "bundles"
would be great, say "full", "medium" and "small", but it will mostly be
useful for beginners.
I haven't yet started exploring the code thoroughly, because we were content
with what was done by you in order to strip the binary. But I'm planning to,
if nobody more knowledgeable stands out to do this.
Thank you for reply :)
Sincerely,
Nick
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee