Deprecate .HLL_map

Patrick R. Michaud pmichaud at pobox.com
Tue Jan 27 13:54:09 UTC 2009


On Sun, Jan 25, 2009 at 07:21:20PM +0100, NotFound wrote:
> > I also kicked around the idea of an "hllmap" opcode, which should be a
> > significant performance win over having to call getinterp and then the
> > "hll_map" method after that. I'm willing to do whatever needs to get
> > done to fix the situation, but deprecating .HLL_map and using the
> > "hll_map" method instead is a path of least resistance.
> 
> I don't think an opcode will give any noticeable performance impact,
> even when loading a language that use a lot of maps. And the impact in
> the pbc size will be just a few bytes.

Agreed.  I'd be very surprised if any given HLL has to do more 
than ten mappings, all of which would tend to be at initialization 
time.  Converting ten or even twenty "hll_map" method calls into 
an equivalent number of opcode dispatches doesn't seem like an
important win to me.

Pm


More information about the parrot-dev mailing list