surprising result with hipe compilation

Mikael Pettersson mikpe@REDACTED
Wed Oct 22 11:37:10 CEST 2003


Ulf Wiger (AL/EAB) writes:
 > 
 > 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.

A self-contained test case would be required if we are to
track this down.

/Mikael



More information about the erlang-questions mailing list