Comments (2)
I think this might already be an optimization pass of LLVM, and, if not, that is probably where it should live.
from zig.
I think this optimization idea is not worthwhile. The most it can do is save a few bytes here and there, and finding the savings would cost compile time.
from zig.
Related Issues (20)
- `std.ChildProcess.collectOutput()` doesn't build correctly in release modes on macOS (aarch64)
- LLVM tracking issue: Incorrect Diagnostic kind for `DiagnosticInfoIgnoringInvalidDebugMetadata`
- std.os.access doesn't handle EPERM errno HOT 4
- is the parser broken? HOT 3
- std.http.Client: open a new connection when an existing one is closed by the server HOT 2
- @ptrCast of optional slice causes compiler panic HOT 6
- pkg-config flags seem to not be passed to `zig build-obj` even when use_pkg_config is `True on macOS
- Segmentation fault when using a returned `std.fifo.LinearFifo.writer().any()` HOT 2
- Official hello world build code fails. HOT 4
- @setFloatMode(.Optimized) regression (or doc regression) HOT 2
- compiler: improve/fix handling of the -mcpu option
- compiler: update documentation of the old <name><argument options HOT 1
- stdlib: quaternions HOT 7
- `std.compress.flate.decompress()` results in `error.EndOfStream` HOT 7
- `std.compress.flate.decompress()` results in `error.EndOfStream` HOT 1
- crash when trying to get `extern struct` from `@cVaArg` HOT 1
- make `std.math.sign` a builtin (`@sign`) HOT 2
- add cross-platform API to std.process.Child for spawning a detached process HOT 1
- zig cc -target x86_64-macos-none stopped working
- Proposal: nuke the `std.math.complex` namespace and make math functions generic over `Complex`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zig.