From: K. G. <kim...@gm...> - 2008-10-20 06:05:30
|
Hi Dean, On Mon, Oct 20, 2008 at 06:50, Dean Michael Berris <mik...@gm...> wrote: > > On Sun, Oct 19, 2008 at 4:14 PM, Kim Gräsman <kim...@gm...> wrote: >> >> I'm looking at the URI processing again, and I don't really see the >> benefit of the Fusion map. Is Fusion required by the Spirit parser? Or >> just the easiest way to export the parser results? >> > > Actually, there's something here that's not terribly obvious. > > One thing that isn't there yet (that ought to be) is the normalization > of values in the fusion map, using fusion algorithms, that get > unrolled at compile time by any compiler. ;) > > So instead of doing a run-time loop for compile-time unrollable loops > (for example, lower-casing any protocols, making sure domain names are > lower-cased, URL-encoding parameters, etc.) we get the efficiency with > a nice and expressive yet succinct syntax. I figured there was something like that, thanks! - Kim |