Thank you for your reply. I read in github page that ffi is gives 5x times normal load (at least). So One solution that came to my mind was to reduce ffi functions. By wrapping my dynamic library in c program that have only one function as external function. So by doing this:
I went from mapi_create connection mapi_get_field_count mapi_query mapi_get_name mapi_fetch_row mapi_fetch_field mapi_close_handle mapi_destroy mapi_explain to just three functions create_connection query and destroy. (other stuff is handled by c liby) Though I am not sure it is good or bad solution -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
