Yes, I find the numbered locales quite useful, but building the double-linked list of locales might mean he might intended to have very many locales created and could be a performance problem to delete the locales.
On Fri, May 20, 2022 at 11:46 AM Raul Miller <rauldmil...@gmail.com> wrote: > On Fri, May 20, 2022 at 1:29 PM Don Guinn <dongu...@gmail.com> wrote: > > Just a thought. The management of numbered locales is not very > efficient. A > > while back I created several thousand locales as an object test. I went > to > > delete all of them and it took forever. > > Right. > > My understanding was that J's locales were designed to roughly > correspond with intel's "Structure of Arrays" abstraction. > > As I understand it, Ken Iverson did not see much use for the popular > but inefficient abstractions which would roughly correspond with > intel's "Array of Structures" abstraction (with "objects being similar > to structures, but heavier). > > In other words, for code where execution time is a bottleneck, the > purpose of J's locales should be thought of as being more analogous > (for example) to the purpose of Java's namespaces than the purpose of > Java's object system. > > -- > Raul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm