Re: novice: mapcan use?



Kenny Tilton wrote:

coming from. We often get newbies posting code here saying, Whoa, this is slow. We find that an innocent looking bit of recursive code is

The couple newbies who find there way into the Lisp world usually have quite some programming experience (including optimization, debugging, etc.) in other languages, are known to like experimenting with different languages and programming concepts (otherwise, how would they have found out about Lisp?) and normally are not so incompetent as to not know when to do optimization, and how to use profiling tools, when available. In fact, when they come to Usenet or mailing lists and ask about how to make things faster, is that not a good indicator that they're trying to find out about these things and learn about them?


mkb.
.



Relevant Pages

  • Re: Debug optimized code
    ... optimization, and if they want optimization, they can't really use ... I see the benefit if it can be done, at least in some languages, ... I've had code that needed debugging, ... (wiping a virtual pointer) ...
    (comp.compilers)
  • Re: Readable code and refactoring for optimization
    ... "The common advice to developers in most languages is to write first for ... I'm not saying that one should never change an algorithm during optimization. ... The thing to keep in mind is the loop will execute exactly n times assuming no LEAVEs are invoked, even though the index i will never reach n: i will step from 0 to n-1, which is useful for a zero-based array. ...
    (comp.lang.forth)
  • Re: a LISP raytracer
    ... I'd love to take a look at their optimization methods. ... The Scheme implementation wasn't optimised by hand - the compiler does all ... > I am currently planning to learn OCaML, as I've heard much about it. ... > languages. ...
    (comp.graphics.rendering.raytracing)
  • Re: Intel details future Larrabee graphics chip
    ... these checks generate exceptions which block compiler optimization and use ... Languages with these properties are inadequate for software engineering. ... A specialized string class ... It was a translation from low-level C into OO C++, ...
    (comp.arch)
  • Re: Numeric value problems
    ... A standard peephole algebraic-simplification optimization, ... any general text on compiler design. ... I've had to build compilers for toy languages and in college (many ... the string concatenation will happen first, then the string "bar * 1" ...
    (comp.lang.javascript)