July 21, 2020 Learn » Re: miscellaneous array questions... | |||
|---|---|---|---|
| |||
...which most static arrays are):
struct S
{
ubyte[17_000_000] big;
}
void main()
{
auto... | |||
July 21, 2020 Issues » [Issue 14458] very slow ubyte[] assignment (dmd doesn't use memset) | |||
|---|---|---|---|
| |||
...request #11437 "fix Issue 14458 - very slow ubyte[] assignment (dmd doesn't use memset)" fixing... | |||
July 21, 2020 Issues » [Issue 14458] very slow ubyte[] assignment (dmd doesn't use memset) | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=14458 --- Comment #2 from Walter Bright <bugzilla... | |||
July 19, 2020 Issues » [Issue 14458] very slow ubyte[] assignment (dmd doesn't use memset) | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=14458 Walter Bright <bugzilla@digitalmars.com> changed... | |||
July 19, 2020 Issues » [Issue 14458] very slow ubyte[] assignment (dmd doesn't use memset) | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=14458 Walter Bright <bugzilla@digitalmars.com> changed... | |||
July 18, 2020 Learn » Good way to send/receive UDP packets? | |||
|---|---|---|---|
| |||
...with their starting `[0x5a, packet.length.to!ubyte]` included. And only communication with a single... | |||
July 18, 2020 LDC » Re: get memcpy EXC_BAD_ACCESS only with LTO on multi platform! | |||
|---|---|---|---|
| |||
...code will trigger LTO error:
struct Buffer {
ubyte* m_data;
union {
ulong m_placeholder;
uint... | |||
July 13, 2020 Learn » Re: Bind C++ class to DLang : undefined reference to `Canvas::Foo()' | |||
|---|---|---|---|
| |||
...static Canvas Create();
basic_string!ubyte Foo();
basic_string!ubyte Bar();
};
}
void main()
{
Canvas canvas... | |||
July 09, 2020 Learn » Re: What's the point of static arrays ? | |||
|---|---|---|---|
| |||
Nah, just do this: arr = new ubyte[arraySize]; Mission accomplished. ;-) T -- I am Ohm of... | |||
July 09, 2020 Learn » Re: What's the point of static arrays ? | |||
|---|---|---|---|
| |||
...t arraySize)
{
void *ptr = alloca(arraySize);
ubyte[] arr = cast(ubyte[])ptr[0..arraySize];
}
it would... | |||
Copyright © 1999-2021 by the D Language Foundation