Koenkk / zigbee-herdsman

A Node.js Zigbee library
MIT License
456 stars 277 forks source link

feat: Zigbee Specification revamp #1042

Closed Nerivec closed 1 week ago

Nerivec commented 2 weeks ago

TODO:

Nerivec commented 2 weeks ago

@Koenkk If you can review this commit in great details. It drastically changes the code for clusters/custom clusters lookup. We need to make sure it still matches the way you designed custom clusters to be (i.e. that tests aren't testing this wrong). 😅 If it does, these changes have one heck of a nice side-effect:

x10000 getCluster: Old: ~280ms New: ~50ms

x10000 getCluster with 2 custom clusters: Old: ~7.5s New: ~57ms

Koenkk commented 1 week ago

Thanks!