GNU bug report logs -
#14047
more aggressive inlining
Previous Next
To reply to this bug, email your comments to 14047 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#14047
; Package
guile
.
(Mon, 25 Mar 2013 09:45:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Daniel Llorens <daniel.llorens <at> bluewin.ch>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Mon, 25 Mar 2013 09:45:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
On Mar 1, 2013, at 10:44, Andy Wingo wrote:
> On Fri 01 Mar 2013 10:01, Daniel Llorens <daniel.llorens <at> bluewin.ch> writes:
>
>> scheme@(guile-user)> ,optimize (vector-ref #(1 2 3) 0)
>> $1 = 1
>> scheme@(guile-user)> ,optimize (array-ref #(1 2 3) 0)
>> $2 = (array-ref '#(1 2 3) 0)
>
> File a bug for this case, this sort of thing is totally fixable :)
So I think this use of array-ref should be inlined.
Same for other simple functions such as e.g.
scheme@(guile-user)> ,optimize (real-part 1+1i)
$1 = (real-part 1.0+1.0i)
scheme@(guile-user)>
imag-part, magnitude, and so on.
Information forwarded
to
bug-guile <at> gnu.org
:
bug#14047
; Package
guile
.
(Wed, 27 Mar 2013 19:34:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 14047 <at> debbugs.gnu.org (full text, mbox):
On Mon 25 Mar 2013 10:42, Daniel Llorens <daniel.llorens <at> bluewin.ch> writes:
>> On Fri 01 Mar 2013 10:01, Daniel Llorens <daniel.llorens <at> bluewin.ch> writes:
>>
>>> scheme@(guile-user)> ,optimize (vector-ref #(1 2 3) 0)
>>> $1 = 1
>>> scheme@(guile-user)> ,optimize (array-ref #(1 2 3) 0)
>>> $2 = (array-ref '#(1 2 3) 0)
>>
>> File a bug for this case, this sort of thing is totally fixable :)
>
> So I think this use of array-ref should be inlined.
>
> Same for other simple functions such as e.g.
>
> scheme@(guile-user)> ,optimize (real-part 1+1i)
> $1 = (real-part 1.0+1.0i)
> scheme@(guile-user)>
>
> imag-part, magnitude, and so on.
If you would like to make a precise list, that would be helpful.
Cheers,
A
--
http://wingolog.org/
Information forwarded
to
bug-guile <at> gnu.org
:
bug#14047
; Package
guile
.
(Wed, 27 Mar 2013 20:43:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 14047 <at> debbugs.gnu.org (full text, mbox):
On Mar 27, 2013, at 20:31, Andy Wingo wrote:
> If you would like to make a precise list, that would be helpful.
At least everything from §6.6.2.7 to §6.6.2.13 in http://www.gnu.org/software/guile/manual/html_node/
I've noticed that a few of these are already reduced, it seems quite random. For example everything in §6.6.2.8 is reduced, then logand is reduced but logior is not.
odd? *
even? *
quotient
modulo
remainder
gcd
lcm
modulo-expt
exact-integer-sqrt
make-rectangular
make-polar
real-part
imag-part
magnitude
angle
abs
min
max
truncate
round
floor
ceiling
euclidean/, -quotient, -remainder
floor/, -quotient, -remainder
ceiling/, -quotient, -remainder
truncate/, -quotient, -remainder
centered/, -quotient, -remainder
round/, -quotient, -remainder
sqrt
expt
sin
cos
tan
asin
acos
atan
exp
log
log10
sinh
cosh
tanh
asinh
acosh
atanh
logand *
logior
lognot *
logtest
ash *
logcount
integer-length
integer-expt
bit-extract
Severity set to 'wishlist' from 'normal'
Request was from
Mark H Weaver <mhw <at> netris.org>
to
control <at> debbugs.gnu.org
.
(Sun, 14 Apr 2013 19:10:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 62 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.