Comments (4)
New tests with phplrt parser v2.0:
Result: 0.0061s (-595%)
from railt.
Finish line =)
- Accelerated initialization time more than 12 times
- Lexical analysis accelerated more than 3 times
- Reduced memory consumption by about 2 times
- Parser accelerated about one and a half to two times
https://gist.github.com/SerafimArts/12a4d41523c9a5994a2a1b2e1418bc9a
Due to the optimization of the rules of grammar, I can still win in speed, but so far has not worked.
A little bit more I will correct the source code and already will pour the result into the main 1.4.x branch
from railt.
P.S. Probably still need to invert the list of "transitional" rules. In this case, their size will be reduced.
from railt.
Delivered in a separate project: https://github.com/phplrt/phplrt
from railt.
Related Issues (20)
- Reflection returns uncatched fatal exception on implementation from type instead interface HOT 1
- RFC Inner types
- Custom values for enum
- Class 'Railt\Compiler\Parser\Runtime' not found HOT 3
- Completion of work on reflection HOT 1
- Update documentation HOT 1
- Railt Compiler 1.3 regression HOT 5
- [DISCUSSION] How to add a new directive or a extension? HOT 7
- [Question] Access parent attributes from route HOT 6
- Processing of HTTP Request expects RequestInterface HOT 2
- Return of controller as a list of objects instead list of arrays HOT 3
- Multiple graphql files and schema extender modularization feature HOT 7
- Parameter injection not working, maybe a regression HOT 1
- Simple documentation HOT 3
- How to write a validator? HOT 1
- railt Type \"Mutation\" not found and could not be loaded" HOT 2
- directive @validate not working HOT 3
- how to solve n+1 problem in railt? HOT 1
- plelase update railt/discovery to support composer2 HOT 1
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 railt.