Currently select-ing from a schema will optionalize all and then require the paths from the selection.
Typically you'd select a lot from one schema to get the right subschema for a context. The 'optionalize all'-step is therefor kinda wasteful (and quite pricey) and could be done once with a selector:
(def person-selector (selector Person)) ;; ~2/3 the cost of a select
((person-selector) [,,,]) ;; ~1/3 the cost of a select
Currently
select
-ing from a schema will optionalize all and then require the paths from the selection.Typically you'd select a lot from one schema to get the right subschema for a context. The 'optionalize all'-step is therefor kinda wasteful (and quite pricey) and could be done once with a selector: