Re: [xml] GHashTable as replacement of built-in xmlHashTable



On Sun, Apr 13, 2003 at 07:52:56PM +0900, Kang Jeong-Hee wrote:
GLib 2 provide a hash table; GHashTable.
Its APIs are nearly equivalent to ones of xmlHashTable.

  not surprizing, considering objects like hash table, having
similar APIs for similar objects is normal.

I propose GHashTable as replacement of xmlHashTable
and removing hash.[ch] from libxml2.

  Suggesting to change code without reasons is a bit childish.
Why not suggesting glib to use hash.[ch] from libxml2 instead ?
libxml2 does not depends on glib. glib doesn't depend on libxml2,
there is a bit of code duplication, but where is the problem ?

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]