derive_utils icon indicating copy to clipboard operation
derive_utils copied to clipboard

More efficient parsing of trait definitions

Open taiki-e opened this issue 5 years ago • 0 comments

Currently, trait definitions passed to quick_derive!, derive_trait, EnumImpl::from_trait, EnumImpl::push_method, and EnumImpl::append_items_from_trait are parsed per time proc-macro called. This is not efficient, and ideally it should be parsed only once.

taiki-e avatar Nov 06 '20 09:11 taiki-e