fix: ajouter un commentaire TODO pour le comportement des systèmes pull et push
This commit is contained in:
@@ -1,13 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flow-conclusion">
|
<div class="flow-conclusion">
|
||||||
|
<!-- TODO: Mettre ici le comportement en pull system et en push system.
|
||||||
|
En push system, on voit un goulot d'étranglement.
|
||||||
|
En pull system, on voit petit à petit du danse avec une passation de plus en plus facile.
|
||||||
|
Il n'empêche que dans les deux systèmes il y ai de la création de défaut -->
|
||||||
<p>
|
<p>
|
||||||
Pull system wins! The fact that
|
Pull system wins! The fact that
|
||||||
<a
|
<a
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
href="https://journals.aps.org/pre/abstract/10.1103/PhysRevE.96.052303#:~:text=The%20%E2%80%9Cfaster%2Dis%2Dslower,evacuation%20time%20can%20be%20achieved"
|
href="https://journals.aps.org/pre/abstract/10.1103/PhysRevE.96.052303#:~:text=The%20%E2%80%9Cfaster%2Dis%2Dslower,evacuation%20time%20can%20be%20achieved"
|
||||||
>faster is slower</a
|
>faster is slower
|
||||||
>
|
</a>
|
||||||
is counter-intuitive but it is a fact. The more we push the more we are
|
is counter-intuitive but it is a fact. The more we push the more we are
|
||||||
slowing down the system.
|
slowing down the system.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -16,8 +16,6 @@ export const getMean = (data: number[]) =>
|
|||||||
export const getRound = (data: number, total: number) =>
|
export const getRound = (data: number, total: number) =>
|
||||||
(Math.round(100 * (data / total)) / 100 || 0).toFixed(2)
|
(Math.round(100 * (data / total)) / 100 || 0).toFixed(2)
|
||||||
|
|
||||||
export const clone = (data: any) => JSON.parse(JSON.stringify(data))
|
|
||||||
|
|
||||||
export const shuffleArray = <T>(array: T[]) => {
|
export const shuffleArray = <T>(array: T[]) => {
|
||||||
let currentIndex = array.length,
|
let currentIndex = array.length,
|
||||||
randomIndex
|
randomIndex
|
||||||
|
|||||||
Reference in New Issue
Block a user