In the ClojureScript case, you can do lazy compile time compilation
instead, where the predicate call is really a macro that always
expands into a predicate call but during compile time can check if the
tree needs to be updated. This isn't as lazy as the runtime version
but at least groups of exten
On Mon, Aug 22, 2011 at 3:07 PM, Brent Millare wrote:
> > For pattern matching code size is a one time cost. For predicate
> dispatch,
> > that's a lot of code to generated, since every new predicate case will
> > produce an entirely new tree. But perhaps people won't care that much.
> Only
> > ti
Actually to simply further, instead of wrapping the old DAG tree, it
simply replaces the DAG tree with the compilation step. The
compilation step then makes the new DAG tree and calls it.
On Aug 22, 3:07 pm, Brent Millare wrote:
> > For pattern matching code size is a one time cost. For predicate
> For pattern matching code size is a one time cost. For predicate dispatch,
> that's a lot of code to generated, since every new predicate case will
> produce an entirely new tree. But perhaps people won't care that much. Only
> time and experience reports will tell.
If you want, you can be lazy
The alternative to using eval and large code generation that I've seen
is to use the compiled tree of closures approach used by CL-PPCRE. If
the JVM is smart enough, it may do the inlining for you on the hot
code.
http://en.wikibooks.org/wiki/Common_Lisp/External_libraries/CL-PPCRE#Regular_Express
On Sun, Aug 21, 2011 at 11:27 PM, Brent Millare wrote:
> I have a question about the presentation.
>
> You mention that you can't achieve the same dispatching performance in
> the open case compared to the closed space.
>
I meant to say that the problem is hard. No completely unsolvable.
> In m
I have a question about the presentation.
You mention that you can't achieve the same dispatching performance in
the open case compared to the closed space.
Lets ignore the namespace issue (maybe by restricting ourselves to
only one namespace).
Also lets assume the predicate ordering is solved.
Excellent talk David. This is hitting a programming sweet spot that I've
wanted for a while. I haven't tried prolog, standard ml, haskell, etc. But
jquery was the first tool that clued me into a kind of pattern matching and
predicate dispatch:
$( ".classA .classB#containingId" ).doSomething();
$
On Fri, Aug 19, 2011 at 3:57 AM, Ken Wesson wrote:
> On Thu, Aug 18, 2011 at 11:00 PM, Meikel Brandmeyer wrote:
> > Eh, what exactly does slideshare provide over a PDF put on some server
> somewhere?
>
> Apparently, the ability to annoy the hell out of whoever you try to
> share it with.
You c
Awesome talk - thanks!
I particularly enjoyed the sign behind you that says "Don't Panic!" - it helped
keep me calm during the hairily complex parts :-)
I really look forward to seeing where you go with this stuff…
Sam
---
http://sam.aaron.name
On 18 Aug 2011, at 21:10, David Nolen wrote:
>
On Thu, Aug 18, 2011 at 11:00 PM, Meikel Brandmeyer wrote:
> Eh, what exactly does slideshare provide over a PDF put on some server
> somewhere?
Apparently, the ability to annoy the hell out of whoever you try to
share it with.
--
Protege: What is this seething mass of parentheses?!
Master: Yo
Hi,
Am 18.08.2011 um 22:27 schrieb Laurent PETIT:
> 2011/8/18 David Nolen
> SlideShare link, http://www.slideshare.net/DavidNolen/patterns-8907600
>
> Arrrgh, and now slideshare wants me to authenticate via FB or a slideshare
> account if I want to download the slides, again.
>
> Ok, I've alr
2011/8/18 David Nolen
> SlideShare link, http://www.slideshare.net/DavidNolen/patterns-8907600
Arrrgh, and now slideshare wants me to authenticate via FB or a slideshare
account if I want to download the slides, again.
Ok, I've already got a slideshare account, so I'll try to remember the
pass
2011/8/18 Baishampayan Ghose
> > I don't have a Facebook account (and don't want to create one), neither
> have
> > or want to create a scribd account. Could it be possible to have the
> slides
> > available for download without having to authenticate (e.g. slideshare) ?
>
> Slides are on Scribd
Thanks David, I can't wait reading them !
Cheers,
--
Laurent
2011/8/18 David Nolen
> SlideShare link, http://www.slideshare.net/DavidNolen/patterns-8907600
>
> David
>
>
> On Thu, Aug 18, 2011 at 2:57 PM, Laurent PETIT wrote:
>
>> Hello,
>>
>> I don't have a Facebook account (and don't want t
SlideShare link, http://www.slideshare.net/DavidNolen/patterns-8907600
David
On Thu, Aug 18, 2011 at 2:57 PM, Laurent PETIT wrote:
> Hello,
>
> I don't have a Facebook account (and don't want to create one), neither
> have or want to create a scribd account. Could it be possible to have the
> sl
> I don't have a Facebook account (and don't want to create one), neither have
> or want to create a scribd account. Could it be possible to have the slides
> available for download without having to authenticate (e.g. slideshare) ?
Slides are on Scribd as well - http://www.scribd.com/doc/62571669
Hello,
I don't have a Facebook account (and don't want to create one), neither have
or want to create a scribd account. Could it be possible to have the slides
available for download without having to authenticate (e.g. slideshare) ?
2011/8/18 David Nolen
> In case you didn't see this elsewhere
18 matches
Mail list logo