Public
Authored by Antoine

Operation list optimisation

Edited
1.4 KB
  • @ZeHiro

    • is operationsId supposed to be sorted by date?
    • where would the selectIfUnchangedOperationList / selectFilteredOperations / selectOnlyIfUnchangeFilteredOperations be used?
    • i don't understand the update filter function so that block of code. Can you explain it further?
    • join('') might not work when elements of the array are objects. Even with an id array, the following two are considered the same with your algorithm: [1, 2, 34] and [1, 23, 4].
  • @bnjbvr

    • yes
    • selectOnlyIfUnchangeFilteredOperations will by use to select the operations to be displayed
    • the currenct filter in operations/index.js function does not not fit the current approach
    • join : nice catch, i'll fix
    • (bullet 2) in which case? the name really isn't talkative to me. What about the two other functions?
    • (bullet 3) why?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment