[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #31558 [Metrics/CollecTor]: Process bridge pool assignments again



#31558: Process bridge pool assignments again
-------------------------------+------------------------------
 Reporter:  karsten            |          Owner:  metrics-team
     Type:  enhancement        |         Status:  merge_ready
 Priority:  Medium             |      Milestone:
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:  BugSmashFund       |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:  irl                |        Sponsor:
-------------------------------+------------------------------
Changes (by irl):

 * status:  needs_review => merge_ready


Comment:

 Looking good. That's a lot easier to read and follow now.

 > there are some for each loop, is it make sense use a functional approach
 using lambda?

 We should look more at Java 8 Streams API because this gives us some
 parallel processing of many of the foreach loops. Not now, but something
 to think about.

 https://docs.oracle.com/javase/tutorial/collections/streams/parallelism.html

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31558#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs