On Fri, 24 May 2002, Aldo Calpini wrote: > but I found another use for the emit_call_abs() function to implement some > string stuff in JIT. as I already said, the speed increase isn't at all > dramatic, but OTOH I have no idea how to do complicate stuff like allocating > memory natively in asm. these are the string ops that I've implemented in There are some ways to do that but we're not going to use any of them, to allocate memory you can call mem_sys_allocate(), so if you jit the whole string api even calling it there will be a big win.
> I haven't made extensive testing, but it seems there's a gain of about 10 > generations per second with the lifetest. if these changes are welcome, I > will submit a (hopefully proper ;-) patch including other string stuff too. Great, send it, just make sure to mark all the ops that make a call to a C function like this: extern Parrot_concat_s_s_s { .... Regards, Daniel Grunblatt.