You can subscribe to this list here.
2001 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}
(39) 

2002 
_{Jan}
(37) 
_{Feb}
(35) 
_{Mar}
(23) 
_{Apr}
(14) 
_{May}
(2) 
_{Jun}
(7) 
_{Jul}

_{Aug}
(5) 
_{Sep}
(10) 
_{Oct}

_{Nov}
(4) 
_{Dec}

2003 
_{Jan}
(5) 
_{Feb}
(5) 
_{Mar}
(2) 
_{Apr}

_{May}
(7) 
_{Jun}
(8) 
_{Jul}
(16) 
_{Aug}
(8) 
_{Sep}
(15) 
_{Oct}
(4) 
_{Nov}

_{Dec}
(3) 
2004 
_{Jan}

_{Feb}

_{Mar}
(1) 
_{Apr}
(3) 
_{May}
(2) 
_{Jun}
(12) 
_{Jul}
(8) 
_{Aug}
(13) 
_{Sep}

_{Oct}
(9) 
_{Nov}

_{Dec}
(1) 
2005 
_{Jan}
(2) 
_{Feb}

_{Mar}
(6) 
_{Apr}
(1) 
_{May}

_{Jun}

_{Jul}
(1) 
_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

2006 
_{Jan}
(1) 
_{Feb}
(2) 
_{Mar}
(2) 
_{Apr}
(1) 
_{May}
(3) 
_{Jun}
(2) 
_{Jul}
(3) 
_{Aug}
(1) 
_{Sep}

_{Oct}
(4) 
_{Nov}
(11) 
_{Dec}
(20) 
2007 
_{Jan}
(11) 
_{Feb}

_{Mar}

_{Apr}

_{May}
(1) 
_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

2009 
_{Jan}
(1) 
_{Feb}
(1) 
_{Mar}
(5) 
_{Apr}
(4) 
_{May}
(6) 
_{Jun}

_{Jul}
(25) 
_{Aug}

_{Sep}
(2) 
_{Oct}

_{Nov}

_{Dec}

2010 
_{Jan}

_{Feb}

_{Mar}

_{Apr}
(1) 
_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 



1

2

3
(1) 
4
(5) 
5
(5) 
6

7
(1) 
8
(6) 
9
(3) 
10
(3) 
11
(6) 
12
(1) 
13
(2) 
14

15
(2) 
16

17
(2) 
18

19

20

21

22

23

24

25

26

27

28

29

30

31



From: Tim Hochberg <tim.hochberg@ie...>  20020107 18:31:35

Following up myself: you can ignore this last message. By trying several different things and mindless copying of pintobject.h I now have rudimentary float support working in psyco. Only add and subtract are working right now, and conversion from ints to floats is not yet supported, but the following silly function runs 4.5 times faster than base python in my version of Psyco, versus 2.5 times faster in CVS psyco. def f10(): z = 0.0 for i in range(100000): z = z  5.0 y = z + 10. x = y + 10. y = z  10. x = y + 10. y = z + 10. x = y  10. y = z + 10. x = y + 10. x = y + 10. y = z  10. x = y + 10. y = z + 10. x = y + 10. z = z  x return z The next step it to get the other operations working, which should be easy, and get coercion working which I _hope_ will be easy, but I haven't looked into it yet... tim  Original Message  From: "Tim Hochberg" <tim.hochberg@...> To: "Armin Rigo" <arigo@...> Cc: <psycodevel@...> Sent: Saturday, January 05, 2002 2:42 PM Subject: Attempting the 'quick' float solution > > Some time ago Armin wrote: > > >[SNIP] let me first > >describe a quick solution that would probably still give a serious > >speedup to all FP operations. > > I'm attempting to do this on the theory that as I work on the little pieces, > I may absorb enough by osmosis to understand how Psyco actually works. This > may be false, but perhaps I can accomplish something useful anyway. If > someone else is already working on this, let me know and I'll try something > else. I'm sure I'll be asking for guidance repeatedly, but I'll try not to > be too much of a pest... > > These parts are 'done' (they will certainly require some debugging): > > * cimpl_fp_XXX > * PsycoFloat_FROM_DOUBLE() > * PsycoFloat_AS_DOUBLE_1() and PsycoFloat_AS_DOUBLE_2() > > Hmmm.... that list looks awfully short so far ... sigh. Anyway, my question > for today involves ploat_add and friends. Armin suggested: > > >2) metaimplementation: just like we have pint_add()&co, we need > >pfloat_add()&co. A priori, pfloat_add() is something like: > > > >static vinfo_t* pfloat_add(PsycoObject* po, vinfo_t* v, vinfo_t* w) > >{ > > vinfo_t *a1, *a2, *b1, *b2, *x; > > vinfo_array_t* result; > > a1 = PsycoFloat_AS_DOUBLE_1(po, v); > > a2 = PsycoFloat_AS_DOUBLE_2(po, v); > > b1 = PsycoFloat_AS_DOUBLE_1(po, w); > > b2 = PsycoFloat_AS_DOUBLE_2(po, w); > > /* ... */ > >} > > Is there any reason that this can't be done in the same way as pint_add. For > example: > > static vinfo_t* pfloat_add(PsycoObject* po, vinfo_t* v, vinfo_t* w) > { > vinfo_t *a1, *a2, *b1, *b2, *x; > vinfo_array_t* result; > CONVERT_TO_DOUBLE(v, a1, a2); > CONVERT_TO_DOUBLE(w, b1, b2); > /* ... */ > } > > Where CONVERT_TO_DOUBLE would start out as: > > define CONVERT_TO_DOUBLE(vobj, vlng1, vlng2) \ > if (Psyco_TypeSwitch(po, vobj, &psyfs_float) == 0) { \ > PsycoFloat_AS_DOUBLE(po, vobj1, vobj2); \ > if (vlng1 == NULL  vlng2 == NULL) \ > return NULL; \ > } \ > else { \ > if (PycException_Occurred(po)) \ > return NULL; \ > vinfo_incref(psyco_viNotImplemented); \ > return psyco_viNotImplemented; \ > } > > > Eventually it would get extended as we allowed integers and other types to > be converted to floats. psyfs_float would have to be defined in pobject.c > and presumably entered into some array of fixed_switch values somewhere, but > I haven't got that far yet. > > Is this a reasonable way to approach this if my goal is to first get > floatfloat operations working and then to branch out from there, or am I > way off target here.... > > Thanks, > > tim > > 