308
edits
Line 14: | Line 14: | ||
** nsSupportsArray is very inefficient and has a bad API | ** nsSupportsArray is very inefficient and has a bad API | ||
** Use any of the arrays in [http://www.mozilla.org/projects/xpcom/array-guide.html The Mozilla Array Guide]. | ** Use any of the arrays in [http://www.mozilla.org/projects/xpcom/array-guide.html The Mozilla Array Guide]. | ||
* nsVoidArray | |||
** Doesn't provide typesafety | |||
** Prefer to use nsTArray or nsCOMArray. | |||
* nsStringArray, nsCStringArray | |||
** Malloc-happy | |||
** Use <nowiki>nsTArray<nsC?String></nowiki> if possible. | |||
* nsHashtable | |||
** Non-typesafe wrapper around pldhash. | |||
** Use one of the hashtables in [http://www.mozilla.org/projects/xpcom/hashtable-guide.html The Mozilla Hashtable Guide] | |||
= Proposed Obsolete API = | = Proposed Obsolete API = |
edits