bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #25466] Compile problem on wilcoxon.c


From: Ben Pfaff
Subject: PSPP-BUG: [bug #25466] Compile problem on wilcoxon.c
Date: Thu, 05 Feb 2009 06:27:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1)

Follow-up Comment #10, bug #25466 (project pspp):

>a) if we end up using routines from a third party library, then 
>this won't be available to us

longjmp() from a signal handler out of arbitrary third-party code seems to be
courting disaster.  At the very least it invites memory leaks.

>b) Executing the test condition would have slowed the system even 
>more. 

If you do it right then you don't put the test in your innermost loop and the
test is only a pair of test-and-jump instructions that the CPU branch
predictor always gets right.

The model checking code contains something like this.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25466>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]