surprising result with hipe compilation

Ulf Wiger (AL/EAB) ulf.wiger@REDACTED
Tue Oct 21 17:07:04 CEST 2003

Ulf Wiger (AL/EAB) wrote:

> 52> c(contract_parser1,[native]).
> {ok,contract_parser1}
> 53> timer:tc(contract_parser1,read_and_parse,["file_plugin.con"]).
> {75,
>  {'EXIT',{undef,[{contract_parser1,read_and_parse,["file_plugin.con"]},
>                  {timer,tc,3},
>                  {erl_eval,expr,3},
>                  {erl_eval,exprs,4},
>                  {shell,eval_loop,2}]}}}
> Oops again! This looks like a bug, or am I missing something?

I was missing something: the 'export_all' option.  :(
It didn't help much, though. If anything, It got even slower with
both modules native. Something in this code does not seem to 
get along with hipe.


More information about the erlang-questions mailing list