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?

--
/Jacob Carlborg

Reply via email to