]> mj.ucw.cz Git - libucw.git/commit
Replaced various attempts to speed up use of obj_add_attr() by simple
authorMartin Mares <mj@ucw.cz>
Wed, 22 Jan 2003 18:07:24 +0000 (18:07 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 22 Jan 2003 18:07:24 +0000 (18:07 +0000)
commiteb45c2f06bf66762fdee2305824a39ab83577cb0
tree8f3ca7845e7ae3823d0b9e805d1bb5d54cde6976
parent07c33c7d74357fc60eaa354defe9fdca2917473a
Replaced various attempts to speed up use of obj_add_attr() by simple
internal caching: odes->cached_attr points to the last attribute added
and it's guaranteed to be the last in its chain.

Removed oattr->last_same, the gain isn't worth the extra complexity
involved.
lib/lib.h
lib/object.c