[erlang-questions] New draft of frames proposal (was Re: Frames proposal)

Jan Burse janburse@REDACTED
Thu May 3 12:31:54 CEST 2012


Jan Burse schrieb:
> (I am using the same for {fun,arity} for a cache
> inside an atom, works like a charm)

Speeds up =../2, call/n, predicate_property (
also when predicate indicator based (sic!)),
etc.. in Prolog.

But requires one more field in an atom, and
to avoid cache trashing when the same arity
is overloaded, I don't make atoms unique.

Could be also helpful for Erlang apply, or
maybe you already usa a cache there in some
instruction.



More information about the erlang-questions mailing list