Comments (1)
I refactored the way verb code is compiled and contexts are created. Verbs pre-compile their code as vm script objects. Contexts are created only once per command run, then passed deeper into the stack. This reduced the player
verb from taking 3.9 seconds to 170 milliseconds. Problem solved!
from room.js.
Related Issues (20)
- Add more unit test coverage
- Create black-box functional tests HOT 1
- Give more control over parsing to the world implementation rather than hard-coding it in the server HOT 2
- Include a proper changelog for this release
- Add a contributors document to give proper credit
- Create an upgrade script to upgrade 3.x worlds to 4.0 worlds
- Add customizable server login messages and help messages
- Node 8.0.0 can't run the tests
- Investigate performance
- Add right prompt
- External text files on objects HOT 2
- Robustness issue in get-xxx and/or save-xxx socket commands
- Make login/authentication (a bit) more state-automata friendly
- Robustness issue in responses to 'request-input' events
- Array types do not update? HOT 2
- how do you add a new trait? HOT 5
- Parser: Incorrect ordering of exact and partial matches
- An in-range update of hashids is breaking the build 🚨 HOT 3
- http://roomjs.dose.ninja/ don't work
- An in-range update of socket.io is breaking the build 🚨 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 room.js.