Erlang Development Environment

David Gould davidg@REDACTED
Wed Mar 7 10:04:15 CET 2001


On Tue, Mar 06, 2001 at 04:19:03PM +0100, Erik.Johansson wrote:
> 
> Well, the change is not that big, it is a bit problematic with the current GC, but it is doable.
> In fact, when you compile a function to native code with HiPE all constant data structures are stored in such a memory pool. (This feature might be added to BEAM at some point...)
> 
> /Erik
> HiPE -- Comming soon to an OTP implementation near you.
> 
> Ex:
> const() ->
>   {a,somewhat,big,"constant"}.
> loop(0) ->
>   const();
> loop(N) ->
>   const(),
>   loop(N-1).
> test() ->
>   loop(1000).
> 
> > timer:tc(jt,test,[]).
> {1557,{a,somewhat,big,"constant"}}
> > hipe:c(jt,[o2]).      
> > timer:tc(jt,test,[]).
> {152,{a,somewhat,big,"constant"}}

Oooooh Oooh Ooh, I can hardly wait. But, what is happening with the x86
version? I have not seen any updates on the hipe page for a while.

-dg
 

-- 
David Gould                davidg@REDACTED               510 536 1443
If simplicity worked, the world would be overrun with insects.



More information about the erlang-questions mailing list