Small Buffer Optimization for string and friends

Marco Leise Marco.Leise at gmx.de
Tue Apr 10 10:25:45 PDT 2012


Am Tue, 10 Apr 2012 10:50:24 +0200
schrieb Artur Skawina <art.08.09 at gmail.com>:

> Obviously, yes, but should wait until enough attribute support is in place and
> not be just a @inline hack.

If you refer to the proposed user attributes, they wont change the operation of the compiler. Only your own program code will know how to use them. @inline, @safe, @property, final, nothrow, ... on the other hand are keywords that directly map to flags and hard wired logic in the compiler. Correct me if I'm wrong.

-- 
Marco



More information about the Digitalmars-d mailing list