search for: findbasicfuns

Displaying 4 results from an estimated 4 matches for "findbasicfuns".

2015 Jan 21
2
reducing redundant work in methods package
Hi all, The function call series genericForPrimitive -> .findBasicFuns -> .findAll happens 4400 times while the GenomicRanges package is loading. Each time .findAll follows a chain of environments to determine that the methods namespace is the only one that holds a variable called .BasicFunsList. This accounts for ~10% of package loading time. I'm sure there i...
2015 Jan 21
2
reducing redundant work in methods package
...ng. > > Have you tried patching methods to use .BasicFunsList directly as in > setMethod? > > > On Wed, Jan 21, 2015 at 10:41 AM, Peter Haverty <haverty.peter at gene.com> > wrote: > >> Hi all, >> >> The function call series genericForPrimitive -> .findBasicFuns -> .findAll >> happens 4400 times while the GenomicRanges package is loading. Each time >> .findAll follows a chain of environments to determine that the methods >> namespace is the only one that holds a variable called .BasicFunsList. >> This >> accounts for ~10%...
2015 Jan 21
0
reducing redundant work in methods package
...f elNamed(), given that [[ now uses exact matching. Have you tried patching methods to use .BasicFunsList directly as in setMethod? On Wed, Jan 21, 2015 at 10:41 AM, Peter Haverty <haverty.peter at gene.com> wrote: > Hi all, > > The function call series genericForPrimitive -> .findBasicFuns -> .findAll > happens 4400 times while the GenomicRanges package is loading. Each time > .findAll follows a chain of environments to determine that the methods > namespace is the only one that holds a variable called .BasicFunsList. This > accounts for ~10% of package loading time....
2015 Jan 22
0
reducing redundant work in methods package
...thods to use .BasicFunsList directly as in >> setMethod? >> >> >> On Wed, Jan 21, 2015 at 10:41 AM, Peter Haverty <haverty.peter at gene.com> >> wrote: >>> >>> Hi all, >>> >>> The function call series genericForPrimitive -> .findBasicFuns -> >>> .findAll >>> happens 4400 times while the GenomicRanges package is loading. Each time >>> .findAll follows a chain of environments to determine that the methods >>> namespace is the only one that holds a variable called .BasicFunsList. >>> Thi...