[MATCH-4] Optimized pattern matching on deftype/record, POJOs Created: 04/Sep/11 Updated: 11/Aug/13
|Reporter:||David Nolen||Assignee:||David Nolen|
:a and :b would be converted to field access, i.e. (.a x)
As with primitive array matching, we should do an instance check followed by hinted field access.
We should consider adopting the deftype/record syntax.
|Comment by David Nolen [ 27/Oct/11 4:41 PM ]|
Given the recent ClojureScript property access discussions this seems like an acceptable syntax for high-performance property access.
But probably not since then we should probably throw if someone tries to declare a different type in the row.
|Comment by Ron Pressler [ 10/Aug/13 4:57 PM ]|
Hi. Any plans on resolving this?
|Comment by David Nolen [ 11/Aug/13 10:55 AM ]|
I have no specific timeline, it will definitely be after 0.2.0, only focusing on bugs at the moment.