Please remove ?:

Ivan Kazmenko gassa at mail.ru
Sat Jun 3 03:03:57 PDT 2006


>When I'm writing libraries, I tend to give longer, complicated names to 
>functions that are slow. People using libraries don't know the performance 
>of a function, and with all that intellisense stuff, they don't read the 
>docs. If you have an array and want to check whether it contains item X, 
>they select "Contains(X)" from the intellisense popup and that's that. I had 
>to rename the function to get it through to them that you don't want to be 
>calling Contains(X) (doing a linear search) in an inner loop :S
Hmm, you have the point here. However, I doubt many people use the same method,
AFAIK, most folks use names to make clear what the function does and docs or
comments or source code to explain how it is done.

Ivan Kazmenko.



More information about the Digitalmars-d mailing list