DSFML icon indicating copy to clipboard operation
DSFML copied to clipboard

Add annotations

Open Jebbs opened this issue 11 years ago • 3 comments

There are a couple of annotations that I would like to add including but not limited to:

nothrow pure(where I can) safe/trusted(maybe?) nogc

Jebbs avatar Jun 21 '14 03:06 Jebbs

FWIW, if i remember right, @safe actually changes some stuff during codegen in ways that can hurt performance. (Like forcing array bounds checks) In a multimedia library like this, it might be best to be judicious with that particular attribute.

aubade avatar Jun 24 '14 04:06 aubade

That is good to know!

I'll ask around on the forums about some of those things before I pop into this, but it won't be for a while anyways since there are far more important things to do.

Jebbs avatar Jun 24 '14 04:06 Jebbs

Final would be a good one to add too!

Jebbs avatar Sep 14 '14 22:09 Jebbs