Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up decoding #44

Open
bengtmartensson opened this issue Jun 14, 2017 · 1 comment
Open

Speed up decoding #44

bengtmartensson opened this issue Jun 14, 2017 · 1 comment

Comments

@bengtmartensson
Copy link
Owner

@bengtmartensson bengtmartensson commented Jun 14, 2017

Presently takes slightly less than 100ms per decode, in comparison with < 1ms for DecodeIR.

Not throwing SignalRecognitionExcepion but returning an error code probably would speed up.

With --recursive extra long, PioneerMix2.ict extreme.

@bengtmartensson

This comment has been minimized.

Copy link
Owner Author

@bengtmartensson bengtmartensson commented Aug 31, 2019

Decode d27e2f0 includes a substantial improvement for --recursive. Here are some observations:

  • throwing SignalRecognitionExcepion takes a lot of time,
  • logging stuff can be non-optimal: first computes possibly expensive .toString and such, without using it
  • use parallelStream()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.