Hi John, On Sun, May 26, 2013 at 11:52:50PM +0200, Jon Harper wrote: > - [ [ xtime ] times 0 ? ] with map-index -> you are doing the computation > and thowing the result away for unset bits. did you intend to do it to > simplify the stack shuffling ?
Yes. I have to rewrite that one to use exponentiation by squaring: every step has to be computed anyway (to get the highest value), but I should reuse intermediate results instead of starting from scratch with times for each one. > Otherwise, it looks pretty idiomatic. Thanks a lot for your helpful review. -- Gabriel ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk