Slashdot is powered by your submissions, so send in your scoop

 



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: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.

Comment: Re:Obligatory Discussions (Score 0) 192

by Eunuchswear (#49347275) Attached to: GNOME 3.16 Released

If you don't want systemd then don't install systemd.

libsystemd isn't systemd. It's a library which is a no-op if systemd isn't installed. In fact one of the main reasons for it's existence is to make sure that packages don't need to depend on systemd.

If you're worried libsystemd will do something bad to you then just review it's code -- it's tiny.

Committees have become so important nowadays that subcommittees have to be appointed to do the work.

Working...