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

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 18 10:54:38 UTC 2019


#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


More information about the tor-bugs mailing list