On 18/06/12 18:22, Jo Rhett wrote:
> On Jun 17, 2012, at 4:22 AM, Dominic Cleal wrote:
>> Yes, prior to 3.0 it is a lot slower.  The reason's simple, it loads and
>> parses every file unless you explicitly tell it (via lens/incl params)
>> which file you intend to edit.
>>
>> 3.0 has an optimisation (#7285) so if you use the context param then it
>> uses this to load only the subset of files matching the context given.
>> This should significantly speed up resources where context is given
>> (usually the case) by eliminating a lot of I/O.
> 
> Is there any reason this can't be backported to 2.7 ?

No technical reason.  I targeted the change at Telly though as I felt it
was a bit experimental at the time (over a year ago) and it felt like a
feature.  We do have one bug (#14378) open against it which is waiting
to be merged.

-- 
Dominic Cleal
Red Hat Consulting
m: +44 (0)7817 878113


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to