OpenIPC / ipctool

Simple tool (and library) for checking IP camera hardware
https://openipc.org
MIT License
158 stars 34 forks source link

refactoring i2cdetect makes it 2 times faster (on goke) #125

Closed RoboSchmied closed 5 months ago

RoboSchmied commented 5 months ago

refactoring i2cdetect makes it 2 times faster (on goke)

before: time -p ./ipctool i2cdetect

real 0.14
user 0.02
sys 0.08

after: time -p ./ipctool i2cdetect

real 0.07
user 0.00
sys 0.05
dimerr commented 5 months ago

great job