When I first encountered the DNU implementation, I also thought it would be a performance issue, but then I ran some benchmarks and found it actually isn't.
On Mon, Sep 18, 2017 at 6:50 PM, tim Rowledge tim@rowledge.org wrote:
If performance is an issue (as appears to be the case from the comment in #getViaSuperclasses:) I’d anticipate that it might be worth explicitly implementing frequently used messages such as borderColor, customWindowColor etc along the lines of borderColor ^[self get: scope top class->#borderColor] ensure:[scope pop] … in order to avoid the time cost of the whole dNU: dance.
tim
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Strange OpCodes: RCR: Rewind Card Reader