Lookup the docs, but IMMUTABLE and other such tags are hints to the optimiser. If a function is immutable then the optimiser can optimise away any invocations. If your function isn't actually immutable you've just caused a problem. They don't affect the actual function at all... On Thu, Mar 03, 2005 at 02:17:17PM +0100, Thomas Schoen wrote: > Hi, > > i wonder if the attribute IMMUTABLE has any effect on functions. > Maybe its not implemented yet? -- Martijn van Oosterhout <kleptog@xxxxxxxxx> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them.
Attachment:
pgpyri6RVKIze.pgp
Description: PGP signature