Comments (6)
What about the data?
from phper.
PHP code:
for ($i=0; $i < 1000; $i++) {
say_hello("sdf"); //rust
strpos("sdfsf", "d", 1); //c function
}
Rust:
pub fn say_hello(arguments: &mut [ZVal]) -> phper::Result<()> {
Ok(())
}
from phper.
Do you build under release
?
from phper.
from phper.
from phper.
0.18 > 0.11
Why does the Rust function take longer than the C complex O(n) function?
How to optimise it?
from phper.
Related Issues (20)
- Add owned state class entry.
- Add into state method for object. HOT 1
- Implement RefClone for ZObject.
- Registering an interface HOT 2
- error: linking with `cc` failed: exit status: 1 HOT 1
- cargo build --release hello failed HOT 3
- How to write HOT 5
- Title to get attention HOT 2
- How should I return here to continue calling HOT 3
- It seems that private methods cannot be called in class methods HOT 5
- Cannot override abstract classes in PHP HOT 1
- PHP 8.2 support HOT 2
- constant definition HOT 1
- union types HOT 4
- symbol flags. HOT 7
- Multiple missing `_Float64x` type errors in phper-sys HOT 7
- Refactoring Exception.
- Plan to refactor classes.
- 偶尔会502 HOT 3
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 phper.