red / REP

Red Enhancement Process
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

WISH: new on-change* semantic #114

Closed hiiamboris closed 2 years ago

hiiamboris commented 2 years ago

Current object/on-change* has two issues:

  1. It doesn't get object itself as an argument. As a result, instead of multiple objects (spaces, faces) sharing a link to the same function, every object has to have it's own copy of the function (bound to itself), which is a waste of RAM.
  2. It's word argument may pass any kind of word, which complicates switch statement often used there:
hiiamboris commented 2 years ago

glitch