Opened 5 weeks ago

Last modified 4 weeks ago

#2815 infoneeded_new defect

Speed up CryptixAESEngine (and possibly many other classes)

Reported by: jogger Owned by:
Priority: minor Milestone: undecided
Component: api/crypto Version: 0.9.50
Keywords: Cc:
Parent Tickets: Sensitive: no


_algo is bloat.

Like in many other classes, a LinkedBlockingQueue? is used without using the blocking features. That queue uses locks and should be replaced by a lockfree ConcurrentLinkedQueue?, which according to the docs is designed to be used by many threads.


Change History (1)

comment:1 Changed 4 weeks ago by zzz

Component: router/generalapi/crypto
Status: newinfoneeded_new

you have any test data showing CLQ is faster, or is this an unmeasurable micro-optimization?

note that we need to check each usage for use of size() which is not constant time for CLQ.

please use gitlab for new tickets.

Note: See TracTickets for help on using tickets.