[erlang-questions] Efficiency of qlc
Tue Nov 20 03:18:15 CET 2012
I want to wirte a sql compiler for mnesia, so I need to dynamic compile the
query string by qlc:string_to_handle/1, but it is much slower than native
code. And I found that:
so I think the reason is that: code 1 run by erl_eval, it scan and parser
the code every time, and code 2 by beam, so code 1 was much slower than
Is there any method to solve this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions