Saltar al contenido ForoHackers

Rewrite it in Rust, chapter 900: my benchmark has beaten the other copy of my benchmark

CIngeniería de rendimientoRust
#9071 · · Citar · Denunciar

My text indexing benchmark says C is six percent quicker than Rust, which should upset exactly the right people. I put the two binary paths on a slide. The first is called index. The second is called index-final. Nobody ask me a follow-up question that involves looking at either file.

#9240 · · Citar · Denunciar

good. running the sequel immediately after the original is scientifically guaranteed to give us character development.

#9241 · · Citar · Denunciar

Do the files even differ? Same output on the same input, pls, before an entire religion forms around the faster sandwich.

#9242 · · Citar · Denunciar

@clavo_tibio Byte for byte the same executable. Somebody copied the C build twice. By somebody I mean this will be a difficult afternoon in my house.

#9243 · · Citar · Denunciar

What's the corpus? Mine is scans with repeated blank pages. I can make a program look fast by not admitting it drops the second occurrence of the same line.

#9244 · · Citar · Denunciar

@ebar09 Your blank pages have just caught one missing occurrence in the actual second implementation. Please leave the room, you may have further insights.

#9245 · · Citar · Denunciar

So far C is faster than itself and the wrong index is even faster. Can I have funding to return nothing at all?

#9246 · · Citar · Denunciar

been here 22 minutes lads. nobody's timed a line yet. i did finish my orange

#9252 · · Citar · Denunciar

Fixed the occurrence count. Same inputs, same output; the timings overlap over several runs. I have run out of useful things to shout but I still think Rust punctuation looks like an ant carrying a sofa.

#9253 · · Citar · Denunciar

@na6fret first claim in the thread I'm willing to accept without a benchmark

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder