http://d.puremagic.com/issues/show_bug.cgi?id=4506
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #55 from Sean Kelly 2010-07-25 20:45:32
PDT ---
If/when this makes it into D2 I'm going to store the info in a parallel array
kind of like the bits are.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=emai
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #54 from Leandro Lucarella 2010-07-25 19:47:26
PDT ---
(In reply to comment #53)
> Created an attachment (id=698) [details]
> D1 - patch for dmd for creating pointer bitmasks
>
> Some changes to make the patch behave under 64 bit
http://d.puremagic.com/issues/show_bug.cgi?id=3463
nfx...@gmail.com changed:
What|Removed |Added
Attachment #695 is|0 |1
obsolete|
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #52 from Leandro Lucarella 2010-07-25 18:45:10
PDT ---
OK, here is the other side of the coin, a small fabricated benchmark (actually
stolen from the NG, sightly modified by me to make false pointers much more
likely):
// Written
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #51 from Leandro Lucarella 2010-07-25 18:10:01
PDT ---
(In reply to comment #48)
> Here are the profiling results (using perf[1]):
> Non-precise scanning: http://pastebin.com/zRKyc9mW
> Precise scanning: http://pastebin.com/jPJ
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #50 from Leandro Lucarella 2010-07-25 17:30:20
PDT ---
(In reply to comment #48)
> It looks like findPool() might be used much more often than before? For
> example, I noticed the mixin code calls findPool() very early, so maybe it
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #49 from nfx...@gmail.com 2010-07-25 17:21:10 PDT ---
@Leandro:
Thanks for doing these tests!
In D1, the runtime calls gc_query on _every_ array append operation. Though the
cache in Gcx.getInfo() speeds it up a bit. But it doesn't
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #48 from Leandro Lucarella 2010-07-25 17:04:56
PDT ---
Well timings for dil are much worse :(
This is dil generating the Tango docs, without precise scanning (dmd with the
last patch, Tango unpatched):
52.01
53.73
52.21
51.79
50.5
http://d.puremagic.com/issues/show_bug.cgi?id=4506
Don changed:
What|Removed |Added
Keywords||patch
--- Comment #4 from Don 2010-07-25 15:29:
http://d.puremagic.com/issues/show_bug.cgi?id=4503
Trass3r changed:
What|Removed |Added
Keywords||patch
--- Comment #2 from Trass3r 2010-07-2
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #47 from Leandro Lucarella 2010-07-25 13:43:10
PDT ---
(In reply to comment #46)
> As far as the (small) drop in mean performance, I say "who cares?". In
> practice, once false pointers start eating you alive and the heap gets
> u
http://d.puremagic.com/issues/show_bug.cgi?id=4506
Don changed:
What|Removed |Added
Keywords||wrong-code
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=4490
David Simcha changed:
What|Removed |Added
Depends on||3516
--- Comment #1 from David Simcha
http://d.puremagic.com/issues/show_bug.cgi?id=3370
David Simcha changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=4298
David Simcha changed:
What|Removed |Added
CC||dsim...@yahoo.com
--- Comment #4 from D
http://d.puremagic.com/issues/show_bug.cgi?id=4500
Andrei Alexandrescu changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #1 from And
http://d.puremagic.com/issues/show_bug.cgi?id=4506
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=4506
--- Comment #2 from bearophile_h...@eml.cc 2010-07-25 09:33:40 PDT ---
Normal compilation:
__Dmaincomdat
assumeCS:__Dmain
L0:enter8,0
movdword ptr -8[EBP],1
movdword ptr -4[EBP],0
L12:cmp
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #46 from David Simcha 2010-07-25 09:07:00 PDT
---
As far as the (small) drop in mean performance, I say "who cares?". In
practice, once false pointers start eating you alive and the heap gets
unnecessarily huge, everything memory
http://d.puremagic.com/issues/show_bug.cgi?id=4506
Summary: -O flag breaks some recursive functions.
Product: D
Version: D2
Platform: x86_64
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Co
http://d.puremagic.com/issues/show_bug.cgi?id=4505
Summary: Type literal of pure function pointer inside function
signature
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: re
http://d.puremagic.com/issues/show_bug.cgi?id=3934
--- Comment #6 from bearophile_h...@eml.cc 2010-07-25 07:01:22 PDT ---
Two more related cases:
This looks correct:
auto main() {
return 0;
}
But dmd 2.047 prints:
test.d(1): Error: function D main must return int or void
http://d.puremagic.com/issues/show_bug.cgi?id=4504
--- Comment #4 from Peter Alexander 2010-07-25
05:53:59 PDT ---
(In reply to comment #3)
> I'm using just basic compilation:
> dmd test.d
Well you won't get the error :P
"Only happens when:
...
- when compiling with (-inline)"
--
Configure
http://d.puremagic.com/issues/show_bug.cgi?id=4504
--- Comment #3 from bearophile_h...@eml.cc 2010-07-25 05:40:21 PDT ---
I'm using just basic compilation:
dmd test.d
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because:
http://d.puremagic.com/issues/show_bug.cgi?id=4504
--- Comment #2 from Peter Alexander 2010-07-25
04:52:25 PDT ---
(In reply to comment #1)
> On Windows, dmd 2.047, I don't see the error.
Interesting. Did you compile with -inline?
--
Configure issuemail: http://d.puremagic.com/issues/userpr
http://d.puremagic.com/issues/show_bug.cgi?id=4504
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=4504
Summary: Internal compiler error using std.algorithm.count with
recursive nested function in release.
Product: D
Version: D2
Platform: x86_64
OS/Version: Mac OS X
S
http://d.puremagic.com/issues/show_bug.cgi?id=3554
--- Comment #2 from Johannes Pfau 2010-07-25 01:12:17
PDT ---
I meant those macro calls should _not_ get escaped, sorry.
Also, some more work would be needed to protect against parenthesis in section
names. But I guess this is usually not a p
http://d.puremagic.com/issues/show_bug.cgi?id=3554
Johannes Pfau changed:
What|Removed |Added
CC||johannesp...@gmail.com
--- Comment #1
30 matches
Mail list logo