[Issue 6256] [patch] std.algorithm.map does not support static arrays and has 'length' for narrow strings.

2014-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6256 --- Comment #8 from bearophile_h...@eml.cc --- (In reply to bearophile_hugs from comment #7) > (In reply to Jonathan M Davis from comment #6) > > So, I think that benchmarks which show a significant improvement with static > > arrays being special-case

[Issue 6256] [patch] std.algorithm.map does not support static arrays and has 'length' for narrow strings.

2014-12-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6256 --- Comment #7 from bearophile_h...@eml.cc --- (In reply to Jonathan M Davis from comment #6) > So, I think that benchmarks which show a significant improvement with static > arrays being special-cased would be required for it to be worth considering.

[Issue 6256] [patch] std.algorithm.map does not support static arrays and has 'length' for narrow strings.

2014-12-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6256 Jonathan M Davis changed: What|Removed |Added CC||issues.dl...@jmdavisprog.co

[Issue 6256] [patch] std.algorithm.map does not support static arrays and has 'length' for narrow strings.

2014-12-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6256 --- Comment #5 from hst...@quickfur.ath.cx --- Sure, open another enhancement request for this. Loop-unrolling is already done by GDC (and probably LDC) anyway, so it's not clear that having many copies of a function, each with a different static arra

[Issue 6256] [patch] std.algorithm.map does not support static arrays and has 'length' for narrow strings.

2014-12-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6256 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #4

[Issue 6256] [patch] std.algorithm.map does not support static arrays and has 'length' for narrow strings.

2014-12-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6256 hst...@quickfur.ath.cx changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 6256] [patch] std.algorithm.map does not support static arrays and has 'length' for narrow strings.

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6256 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Com

[Issue 6256] [patch] std.algorithm.map does not support static arrays and has 'length' for narrow strings.

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6256 --- Comment #2 from hst...@quickfur.ath.cx 2013-08-19 20:03:36 PDT --- As for iterating over static arrays, one workaround is to slice it: import std.algorithm, std.range, std.stdio; void main() { uint[4] test = [1,2,3,4]; write