On Oct 27, 2010, at 4:27 PM, Cyrille Delaunay wrote:
Hello,
I'm currently looking at the use of the PackageOrganizerCache in Moose.
There was some work in pharo about a new, more performant, better-structured (I think
it's the idea ? :)) 'Package system' called RPackage.
So before doing anything, I would like to know more about the use of
PackageOrganizerCache:
- Why do we use a cache ? I guess this is because accessing directly parent packages of
specific classes or methods was to slow using the current package system.
Yes
- If this is the good answer :), why was it too long?
could another package system (RPackage) solve this problem and avoid us to use a cache ?
yes
- For which kind of task is used the packageCache in
Moose? I saw that it was used at the import of smalltalk code, to link classes and method
to their parent package, is that all ?
Checking extension of a package and package
of a class.
Stef