Finally I managed to improve the performance of function access of LHA.
The solution is to use FunctionWrappers.jl which provides a high interface for C function pointers. All tests passed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.