First optimizations

Keep the last property associated with a tag
New linked list useful functions