[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ROFL] GCC's GPLv3 "Updated License Exception"
From: |
Alfred M. Szmidt |
Subject: |
Re: [ROFL] GCC's GPLv3 "Updated License Exception" |
Date: |
Tue, 03 Feb 2009 17:03:18 +0100 |
The degree of creativity involved in writing a few comparison and
conditional/unconditional jump instructions is too low to merit
copyright, just as composing the sentence "This is silly." would
be.
Well, depends... Duff's device is quite a smart way to unroll a loop,
and loop unrolling is quite trivial.
Saying out right that making a efficient switch statment is trivial,
is really not true, if you have a long one, you really wish to do it
as fast as possible, and might resort to vector tables or other stuff.
So switch statment optimistaions can be very creative, it isn't just a
bunch of jmps and conds lumped together...