Re: Quick question about grob interfaces

2018-07-28 Thread David Kastrup
Han-Wen Nienhuys writes: >> On Thu, Jul 26, 2018 at 10:27 PM David Kastrup wrote: >> >>> >>> Does somebody know the answer to the following question? >>> >>> Can a single grob contain the same property via different grob >>> interfaces, or is the inclusion exclusive, meaning that an >>> implemen

Re: Quick question about grob interfaces

2018-07-27 Thread David Kastrup
Dan Eble writes: > On Jul 27, 2018, at 17:21, Han-Wen Nienhuys wrote: >> >> It's not clear to me how the alist per se is a problem and how >> restructuring could fix that. > > > It’s been a couple months, and I only profiled one regtest, but I > remember sloppy_assq, string hashing, and string

Re: Quick question about grob interfaces

2018-07-27 Thread David Kastrup
Han-Wen Nienhuys writes: > On Fri, Jul 27, 2018 at 10:45 AM David Kastrup wrote: > >> >> > The grob-interfaces are a means to group certain functionality (and >> > respective properties.). Whether it's OK for two separate pieces code to >> > both use the same property depends on the specific cas

Re: Quick question about grob interfaces

2018-07-27 Thread Dan Eble
On Jul 27, 2018, at 17:21, Han-Wen Nienhuys wrote: > > It's not clear to me how the alist per se is a problem and how > restructuring could fix that. It’s been a couple months, and I only profiled one regtest, but I remember sloppy_assq, string hashing, and string comparison standing out as si

Re: Quick question about grob interfaces

2018-07-27 Thread Han-Wen Nienhuys
On Fri, Jul 27, 2018 at 10:45 AM David Kastrup wrote: > > > The grob-interfaces are a means to group certain functionality (and > > respective properties.). Whether it's OK for two separate pieces code to > > both use the same property depends on the specific case. I suspect this > > reuse happe

Re: Quick question about grob interfaces

2018-07-27 Thread David Kastrup
Han-Wen Nienhuys writes: > The grob-interfaces are a means to group certain functionality (and > respective properties.). Whether it's OK for two separate pieces code to > both use the same property depends on the specific case. I suspect this > reuse happens a lot for generic properties such as

Re: Quick question about grob interfaces

2018-07-27 Thread Han-Wen Nienhuys
The grob-interfaces are a means to group certain functionality (and respective properties.). Whether it's OK for two separate pieces code to both use the same property depends on the specific case. I suspect this reuse happens a lot for generic properties such as #'dir (or was it called #'directio

Quick question about grob interfaces

2018-07-26 Thread David Kastrup
Does somebody know the answer to the following question? Can a single grob contain the same property via different grob interfaces, or is the inclusion exclusive, meaning that an implementation at C++ level would not require working with virtual inheritance or some equivalent? -- David Kastrup