Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

Comment: Re:Don't conflate the prequels... (Score 1) 223

by Eunuchswear (#49384737) Attached to: Why More 'Star Wars' Actors Don't Become Stars

You know want to know something that didn't last?... Dark star... I think is what it was called. It came out after starwars from warner brothers as a me too movie. And it died and no one remembers it.

I think you may be confused -- Who could forget Dark Star.

John Carpenters best film.

Maybe you mean "the Black Hole"?

Comment: Re:It depends (Score 1) 485

by Eunuchswear (#49368503) Attached to: No, It's Not Always Quicker To Do Things In Memory

They prove that string concatenation (in memory) is slower than writing to buffers (in memory).

I.E. that :

char *s, *new;
new = malloc (len + 1);
memcpy (s, new, len);
new [++len] = 'x';
free (s);
s = new;

is slower than:

buf [len] = x;
if (++len > sizeof buf) {
  write (out, buf, len);
  len = 0;
}

What a fucking joke.

Felson's Law: To steal ideas from one person is plagiarism; to steal from many is research.

Working...