Got inlining for hashes working.
authorDave Rolsky <autarch@urth.org>
Thu, 23 Sep 2010 21:58:57 +0000 (16:58 -0500)
committerJesse Luehrs <doy@tozt.net>
Mon, 27 Sep 2010 00:41:25 +0000 (19:41 -0500)
commit44babf1f66a06b9e1a70a0f04841439e4bc71a6a
treebcf88a0eb84b9bdf591b9459ed27f892e1e36a8e
parent4780fef9a765531631f0227684d8fef871a7d46d
Got inlining for hashes working.

Lots of refactoring to push code to a shared collection mini-trait used for
hashes & arrays, since the inlining code for the two is _really_ similar.
27 files changed:
lib/Moose/Meta/Attribute/Native/MethodProvider/Hash.pm [deleted file]
lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
lib/Moose/Meta/Method/Accessor/Native/Array.pm
lib/Moose/Meta/Method/Accessor/Native/Array/Writer.pm
lib/Moose/Meta/Method/Accessor/Native/Array/accessor.pm
lib/Moose/Meta/Method/Accessor/Native/Array/get.pm
lib/Moose/Meta/Method/Accessor/Native/Array/insert.pm
lib/Moose/Meta/Method/Accessor/Native/Array/set.pm
lib/Moose/Meta/Method/Accessor/Native/Collection.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Counter/Writer.pm
lib/Moose/Meta/Method/Accessor/Native/Hash.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/accessor.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/clear.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/count.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/defined.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/delete.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/elements.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/exists.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/get.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/is_empty.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/keys.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/kv.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/set.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Hash/values.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Writer.pm
t/070_native_traits/003_trait_hash.t