mbeckerle commented on a change in pull request #324: WIP: DAFFODIL-1444 Schema 
Compiler Space/Speed
URL: https://github.com/apache/incubator-daffodil/pull/324#discussion_r379245213
 
 

 ##########
 File path: daffodil-lib/src/main/scala/org/apache/daffodil/util/Memoize1.scala
 ##########
 @@ -52,6 +52,7 @@ class Memoize1[-T <: AnyRef, +R] private (f: T => R) extends 
(T => R) {
       case None => {
         val y = f(x)
         vals.put(x, y)
+        Memoize1.count += 1
 
 Review comment:
   can revert all changes to Memoize1. Came in handy while experimenting, but 
code doesn't need to use it. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to