Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
I
iTasks-SDK
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 77
    • Issues 77
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • clean-and-itasks
  • iTasks-SDK
  • Issues
  • #241

Closed
Open
Created Aug 02, 2018 by Mart Lubbers@mlubbersOwner

sequence becomes slower over time

A non trivial sequence with a few items becomes slower and slower because it is just a fold with >>-.

With the following example, after about 7 or 8 items the timer doesn't finish in time anymore and it becomes unreasonably slow.

I think this is an inherent problem of the step combinator because it seems to keep the left hand side task tree even if it already stepped.

e.g.:

module test

import Data.Func
import iTasks 
import iTasks.Extensions.DateTime

Start w = startEngine (sequence "bork" (map t [0..10000])) w

t i = waitForTimer 1 -|| viewInformation () [] (toString i +++ "th item")
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None