Github user byung-u commented on the issue:

    https://github.com/apache/zeppelin/pull/2543
  
    @tae-jun Thank you for your comment.
    I'm gonna fix & test again.
    
    My code use only 1st paragraph for every note, 
    because of this logic inside double for loop.
    If I have 1,000 notes and 1,000 paragraphs for every note, 
    then `lastRunningUnixTime = getUnixTimeLastRunParagraph(paragraph);` is 
calling 1,000,000 times.
    ```
        for (Note note : notes) {
          ...
          for (Paragraph paragraph : note.getParagraphs()) {
            ...
            lastRunningUnixTime = getUnixTimeLastRunParagraph(paragraph);
           
          }
       }
    ```
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to