Errors in TDPL

Leandro Lucarella luca at llucax.com.ar
Mon Jun 21 16:35:58 PDT 2010


Andrei Alexandrescu, el 21 de junio a las 17:43 me escribiste:
> If efficiency is still sub-par, retro could detect that it's working
> with iota and generate specialized code. That's not too difficult;
> for integers, retro(iota(a, b)) could actually be a rewrite to
> iota(b - 1, a, -1). Figuring out all corner cases, steps greater
> than 1, and what to do for floating point numbers is doable but not
> trivial either, and works against modularity. Anyway, it does look
> like it's all about an implementation matter.

I'm scared, I've heard that in C++ so many times... =)

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
HOMBRE DESNUDO AMENAZA A LOS VECINOS CON UNA "KATANA" DESDE SU BALCON
	-- Crónica TV


More information about the Digitalmars-d mailing list