22-Mar-2013 16:25, Jacob Carlborg пишет:
On 2013-03-22 13:00, Dmitry Olshansky wrote:

Yes, that or ref parameter.

Another option is:

return null - doesn't exists (both ptr and .length are zeros)

return a slice that has zero length and non-zero ptr - exists but empty

Dunno if it's suitable to what your doing with it later on.

Yeah, that would probably also work. Thanks for the help.

BTW, was it only luck that it worked with out optimizations?


Pure and hellish kind of luck.

Well there is a lot of folklore that prescribes that luck is more of demonic then celestial nature :)

--
Dmitry Olshansky

Reply via email to