I'll have to try it again. It was mostly for curiosity. On Fri, May 20, 2022 at 2:27 PM Henry Rich <henryhr...@gmail.com> wrote:
> A couple of releases ago I rewrote numbered-locale processing. I don't > know of any reason why it should be slow to delete them, unless you have an > awful lot of symbols in the locales. > > Henry Rich > > On Fri, May 20, 2022, 4:20 PM Devon McCormick <devon...@gmail.com> wrote: > > > I wonder what use one would have for these doubly-linked locales. To me, > > it has kind of a bad code smell but that may be because I'm unfamiliar > with > > the sort of thing for which it's intended. > > > > On Fri, May 20, 2022 at 2:54 PM Don Guinn <dongu...@gmail.com> wrote: > > > > > 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 > > > > > > > > > -- > > > > Devon McCormick, CFA > > > > Quantitative Consultant > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm