One advantage of a directory is the ability to set an entry to a method so
that you can have code executed on lookup. This ability makes as much sense
for the package local as it does for .environment and .local.

Rick

On Thu, May 21, 2020 at 8:09 AM Rony G. Flatscher <rony.flatsc...@wu.ac.at>
wrote:

> In ooRexx 5.0 there is a package local directory of type .Directory:
>
> G:\test\oorexx\wopi>rexx -e "say .context~package~local"
> a Directory
>
> AFAIR the new class .StringTable was intended as a faster replacement for
> .Directory, which may be slower as it is possible that methods get stored
> with it. So why is it that package's local is not of type StringTable, but
> of type Directory?
>
> ---rony
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to