Faire des sorti fréquent sur la console avec des System.out.println, ça prend bcp de temps/ressources ?
c'est négligable ?
Publicité
Posté le 13-01-2004 à 17:37:54
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 13-01-2004 à 17:42:15
Fais un test, genre une boucle for qui incrémente 10000 fois un compteur et tu affiches le compteur tous les tours. Pis tu fais la même chose sans afficher.
---------------
Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient.
Mazda3
Posté le 13-01-2004 à 17:42:56
c long ... En effet ...
Edit : heu ... non il y a qu'une seconde différence ...