Przemyslaw Czerpak
1624a58420
2008-12-29 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
...
* harbour/include/hbcomp.h
* harbour/include/hbmacro.ch
* harbour/source/compiler/ppcomp.c
* harbour/source/compiler/hbusage.c
* harbour/source/compiler/cmdcheck.c
+ added -ko (allow operator optimizations) compiler switch
It's disabled by default.
* harbour/include/hbexprb.c
* removed HB_ADD_SUB_ONE_OPT macro and enable optimizations covered
by it when -ko switch is used.
* harbour/source/common/expropt2.c
* disabled <exp> + 0 => <exp>, <exp> + "" => <exp>, - - <exp> => <exp>
optimizations for default compiler settings. They can be enabled by
-ko compiler switch
+ added optimizations for numeric values and + operator which uses
standard mathematical + behavior for real numbers:
a + b + c == a + ( b + c )
a + b == b + a
It's disabled by default and can be enabled by -ko compiler switch.
There are also other similar optimizations which can be added in
this way.
* harbour/include/hbapi.h
* harbour/source/vm/itemapi.c
* harbour/source/vm/fm.c
! fixed redundant call to hb_xrealloc() in string resize operation.
Thanks to Mindaugas for locating it.
2008-12-29 18:17:45 +00:00
..
2001-04-27 19:03:46 +00:00
2008-10-19 07:02:22 +00:00
2006-04-15 18:51:38 +00:00
2007-04-14 10:41:54 +00:00
2008-08-19 13:11:22 +00:00
2008-08-19 13:11:22 +00:00
2001-04-27 19:03:46 +00:00
2008-10-16 06:44:26 +00:00
2008-07-11 15:33:41 +00:00
2008-08-21 09:12:17 +00:00
2008-08-21 09:12:17 +00:00
2001-04-27 19:03:46 +00:00
2008-08-19 13:11:22 +00:00
2007-03-09 03:44:42 +00:00
2008-08-19 13:11:22 +00:00
2008-08-19 13:11:22 +00:00
2008-11-03 08:56:31 +00:00
2008-08-21 09:12:17 +00:00
2008-08-19 13:11:22 +00:00
2007-11-23 20:14:30 +00:00
2008-08-21 09:12:17 +00:00
2008-08-17 07:39:25 +00:00
2008-12-29 18:17:45 +00:00
2008-12-23 02:08:51 +00:00
2008-12-12 17:04:16 +00:00
2007-04-15 22:20:37 +00:00
2008-12-22 15:28:29 +00:00
2008-10-28 02:20:23 +00:00
2008-11-09 19:59:39 +00:00
2008-12-27 14:29:30 +00:00
2008-09-13 16:53:45 +00:00
2008-09-19 20:28:26 +00:00
2007-11-12 18:22:51 +00:00
2008-12-11 18:47:46 +00:00
2008-08-26 11:33:03 +00:00
2008-12-18 17:53:31 +00:00
2008-12-29 18:17:45 +00:00
2008-12-02 10:26:51 +00:00
2008-07-09 09:57:33 +00:00
2005-09-23 08:45:05 +00:00
2007-09-25 01:21:03 +00:00
2008-08-26 11:33:03 +00:00
2007-04-13 01:06:01 +00:00
2008-11-09 23:20:16 +00:00
2008-12-24 01:22:16 +00:00
2008-12-08 15:28:49 +00:00
2008-12-29 18:17:45 +00:00
2008-12-02 10:26:51 +00:00
2008-12-25 09:12:32 +00:00
2007-08-02 15:58:50 +00:00
2007-04-14 10:41:54 +00:00
2008-06-08 13:30:28 +00:00
2008-08-21 09:12:17 +00:00
2008-11-04 08:39:45 +00:00
2008-10-26 01:00:37 +00:00
2005-11-14 09:47:46 +00:00
2008-09-13 16:53:45 +00:00
2001-12-15 11:22:29 +00:00
2008-08-21 09:12:17 +00:00
2008-12-29 18:17:45 +00:00
2008-09-18 05:23:49 +00:00
2007-09-02 15:28:05 +00:00
2008-11-10 08:56:41 +00:00
2008-05-05 09:30:19 +00:00
2001-06-14 21:20:43 +00:00
2008-10-06 19:50:53 +00:00
2008-09-13 16:53:45 +00:00
2008-10-05 13:57:35 +00:00
2008-11-06 23:36:17 +00:00
2008-10-02 12:34:36 +00:00
2008-10-02 12:34:36 +00:00
2008-10-02 12:34:36 +00:00
2007-10-18 21:55:39 +00:00
2008-12-24 08:43:07 +00:00
2008-10-02 12:34:36 +00:00
2008-10-02 12:34:36 +00:00
2007-06-06 13:40:09 +00:00
2008-11-07 12:01:33 +00:00
2008-10-02 21:49:11 +00:00
2008-12-23 14:42:32 +00:00
2007-09-25 01:21:03 +00:00
2008-12-27 14:29:30 +00:00
2008-11-05 18:19:06 +00:00
2007-09-14 05:30:12 +00:00
2008-08-26 11:33:03 +00:00
2008-09-21 21:04:47 +00:00
2008-12-11 18:47:46 +00:00
2008-11-09 23:20:16 +00:00
2008-10-08 22:18:09 +00:00
2008-07-06 21:03:15 +00:00
2007-09-25 01:21:03 +00:00
2008-11-07 16:54:27 +00:00
2008-11-05 18:19:06 +00:00
2008-12-22 15:28:29 +00:00
2008-09-30 09:37:58 +00:00
2006-02-04 16:16:48 +00:00
2008-12-23 23:02:06 +00:00
2008-10-13 19:30:38 +00:00
2008-11-06 23:36:17 +00:00
2008-10-28 09:24:37 +00:00
2008-05-28 12:39:33 +00:00
2008-05-28 14:37:33 +00:00
2008-10-27 20:55:24 +00:00
2008-08-21 09:12:17 +00:00
2008-12-24 18:24:05 +00:00
2008-04-24 08:52:57 +00:00
2007-04-14 10:41:54 +00:00
2008-08-19 13:11:22 +00:00
2001-04-27 19:03:46 +00:00
2001-04-27 19:03:46 +00:00
2008-09-13 16:53:45 +00:00
2008-08-21 09:12:17 +00:00
2001-04-27 19:03:46 +00:00
2008-12-18 17:53:31 +00:00
2007-11-23 20:14:30 +00:00
2008-08-19 13:11:22 +00:00