Blender-Internal speed DOF in yafaray

I was playing around with DOF in yafaray, and i realised it is sooo much slower than BI’s DOF with nodes. So I had an idea. On the left is JUST yafaray, took 8 minutes to render, on the right, yafaray and Nodes…20 seconds…Not much of a difference, but think of a complex scene that might take hours to render with DOF and this could cut the render
time by a lot…

All you have to do is render the scene in BI, but the thing is you can do is render it with out any lights or AO, because all you is the zbuffer(I think it’s called that) and look below for the rest…
I’ll be happy to answer any questions…
http://img190.imageshack.us/img190/3079/yafaray8mins.th.pnghttp://img190.imageshack.us/img190/2092/yafaray15secsdof.th.png
http://img10.imageshack.us/img10/2231/nodes.th.png

DOF in BI is a postprocessing effect like, typically Gaussian blur as you find in many 2D packages. It takes advantage of the z-buffer to render each object with the expected blur amount.

In raytracers though, DOF means averaging several extra rays of light from slightly different angles. No z-buffering magic here, though it’s more accurate (and slower).

I just thought it was better because you don’t have to add massive amounts of time in yafaray with AA getting smooth results, when you could do it like this and get smooth effects almost instantly.