| |||||
| Auteur | Sujet : blabla@web |
|---|---|
gatsu35 Blablaté par Harko | Reprise du message précédent :
Message cité 1 fois Message édité par gatsu35 le 17-06-2011 à 13:56:34 --------------- Blablaté par Harko |
Publicité | Posté le 17-06-2011 à 13:56:03 ![]() ![]() |
the real moins moins | hmm certes; tant qu'a faire y'a pas un objet genre stringbuffer en js ? je vois pas l'interet de bricoler avec une array là.
--------------- Hey toi, tu veux acheter des minifigurines Lego, non ? |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
the real moins moins | Et au passage, qqun a des infos sur le support du .bmp par les browsers ? --------------- Hey toi, tu veux acheter des minifigurines Lego, non ? |
masklinn í dag viðrar vel til loftárása |
Message cité 1 fois Message édité par masklinn le 17-06-2011 à 14:00:41 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
the real moins moins |
--------------- Hey toi, tu veux acheter des minifigurines Lego, non ? |
the real moins moins |
nraynaud lol | quelqu'un a des pointeurs sur undo/redo en javascript ?
--------------- trainoo.com, c'est fini |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
gatsu35 Blablaté par Harko |
--------------- Blablaté par Harko |
Publicité | Posté le 17-06-2011 à 15:20:59 ![]() ![]() |
nraynaud lol |
--------------- trainoo.com, c'est fini |
Shinuza This is unexecpected |
Non, pas cross-browser. L'Array est ce qui se rapproche le plus, même si niveau perf c'est pas extra ( resize par chunk ) mais les Buffers que tu trouveras (i.e Buffer, ArrayBuffer) sont fixed-width de toute façon.
Tu peux regarder des trucs genre les pseudos string formatting ou autre langages de templates, mais ça plus rajouter du boilerplate qu'autre chose.
FTFY --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
gatsu35 Blablaté par Harko |
--------------- Blablaté par Harko |
nraynaud lol |
--------------- trainoo.com, c'est fini |
masklinn í dag viðrar vel til loftárása |
Et si tu connais déjà l'upper bound pour ton nombre d'éléments (ou que ça vient d'une autre collection avec un mapping facile) tu peux présizer ton array via le constructeur (au lieu d'un litéral)
Message cité 2 fois Message édité par masklinn le 17-06-2011 à 16:06:55 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
nraynaud lol |
gatsu35 Blablaté par Harko |
--------------- Blablaté par Harko |
Shinuza This is unexecpected |
Oui.
Il lui faut une length dans son JSON du coup.
Mais les Buffers si, par contre je crois que ça existe même pas dans l'API v8, c'est un truc NodeJS only[/quotemsg]
Ouais comparé à une simple boucle c'est pas extra, mais je doute que ça fasse office de bottleneck dans son truc. Mais il faut Array#map --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
masklinn í dag viðrar vel til loftárása |
il ajoute 5 items à son array pour chaque objet dans items, donc:
Et pour IE7/IE8, shims d'ajout à Array.prototype Message cité 2 fois Message édité par masklinn le 17-06-2011 à 16:56:51 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
the real moins moins |
--------------- Hey toi, tu veux acheter des minifigurines Lego, non ? |
Skateinmars |
Pourquoi vous faites ça avec un string et vous construisez pas des noeuds ? Message cité 1 fois Message édité par Skateinmars le 17-06-2011 à 20:10:34 --------------- Feedback HAV |
masklinn í dag viðrar vel til loftárása |
Message cité 1 fois Message édité par masklinn le 17-06-2011 à 21:15:05 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Shinuza This is unexecpected |
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
masklinn í dag viðrar vel til loftárása | http://jsperf.com/mass-concat/3
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Shinuza This is unexecpected | J'oublie si c'est déjà passé : http://blip.tv/jsconf/jsconf2011-j [...] as-5258082 --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
Shinuza This is unexecpected |
C'est super par portable en plus
Programming by accident --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
gatsu35 Blablaté par Harko |
--------------- Blablaté par Harko |
gatsu35 Blablaté par Harko | Bon c'est quoi ce bins chez bouygues telecom. Je suis en tethering sur mon iphone, si j'utilise Firefox 4.01 je l'ai dans le cul, mais si j'utilise chrome, alors là pas de problème o_O
--------------- Blablaté par Harko |
koskoz They see me trollin they hatin |
--------------- |
theredled ● REC |
--------------- Contes de fées en yaourt --- █ --- zed, souviens-toi de ma dernière lettre. --- Rate ta musique |
masklinn í dag viðrar vel til loftárása |
Message édité par masklinn le 18-06-2011 à 12:10:16 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
the real moins moins |
wtf ,push() fait quoi alors??
--------------- Hey toi, tu veux acheter des minifigurines Lego, non ? |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
masklinn í dag viðrar vel til loftárása | http://royal.pingdom.com/2011/06/1 [...] ons-today/
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
koskoz They see me trollin they hatin |
--------------- |
masklinn í dag viðrar vel til loftárása |
Message édité par masklinn le 18-06-2011 à 21:11:36 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
the real moins moins |
--------------- Hey toi, tu veux acheter des minifigurines Lego, non ? |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Shinuza This is unexecpected |
T'as le droit de parler tu sais, c'est fait pour ça le truc rose dans ta bouche. Et avec le truc gris dans ton crâne ça te servira à analyser le marcher et à démontrer qu'il n'y aura pas de RIO. --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
Publicité | Posté le ![]() ![]() |






