From: Nicolas C. <war...@fr...> - 2004-12-19 15:25:07
|
> In my opinion overusing unsafe_get/set sets a bad example > because people will assume they'll always write bug-free > code and just end up using unsafe_get/set "by default". I agree in general : I never use "unsafe" features in my application code. But ExtLib is a library, and one used for very basic operations. It should then provide the user with the best speed available, or users interested in speed might end up rewriting the code themselves with is not what we want. As for bitset, checks should be done when the interface functions are called (negative index and others) so if they're correctly done we don't need additionnal checks. If they're not, this is a bug and have to be fixed. Nicolas |