[Cuis-dev] Improvement: Italic abstract classes and methods V2
Juan Vuletich
juan at cuis.st
Wed Dec 10 03:26:18 PST 2025
Hi Ernesto,
Please see the answer I just sent to your original thread.
Thanks,
On 2025-12-05 2:36 AM, Ernesto Ittig via Cuis-dev wrote:
> Hey all!
>
> This is a follow-up on the change set I sent last Saturday.
>
> I've fixed a preëxisting bug in the Browser where, if a selected class
> was deleted in a different browser, its methods would remain listed and
> cause all sorts of issues. Thanks to Luciano Notarfrancesco for pointing
> this out!
>
> I've also made some performance improvements. The method I was using
> for determining if a class is abstract was quite inefficient, and by
> caching the results I was able to reduce the time it took by 100x. This
> enabled two interested possibilities:
>
> The class list is recomputed when a method is compiled. This way you
> can see a class change from abstract to concrete and v.v. when editing
> its methods.
>
> The caching approach requires storing which messages a class (or any
> of its superclasses) responds with subclassResponsibilty. This enables
> the existence of a "concrete class checklist", such that, when
> subclassing an abstract class, you can see which methods you need to
> override to make it concrete. This is an interesting line to follow in
> the future.
>
> Hope you like it!
>
> Cheers,
> Ernesto Ittig
>
>
--
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
More information about the Cuis-dev
mailing list