POV-Ray : Newsgroups : povray.off-topic : Mini-languages : Re: Mini-languages Server Time
4 Sep 2024 01:20:24 EDT (-0400)
  Re: Mini-languages  
From: Darren New
Date: 10 Nov 2010 16:39:07
Message: <4cdb10fb$1@news.povray.org>
Invisible wrote:
>   xs <- many1 digit
>   if length xs > 3 then fail else return ()

By the way, this also means you have backtracking, which means you have 
exponential time and space requirements for your match rather than provably 
linear time and constant space.

-- 
Darren New, San Diego CA, USA (PST)
   Serving Suggestion:
     "Don't serve this any more. It's awful."


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.